Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support different query behavior on KtField*Select #629

Open
carsoli opened this issue May 30, 2022 · 0 comments
Open

Support different query behavior on KtField*Select #629

carsoli opened this issue May 30, 2022 · 0 comments

Comments

@carsoli
Copy link
Contributor

carsoli commented May 30, 2022

let's wait for future feature requests to decide on one of the following

  1. adding an explicit attribute for searchValue on options - which is what the user can look for when querying
  2. use one of those two "hacks" as a solution
    a) make the field "remote" and filter on the user app by more than just the option.label (aka by option.label || option.value
    b) make the label (since this is what the internal implementation uses know when the user queries) have the same value as the value and use the slot to show the label you want the user to see (e.g. { label: 'Label', value: 'Value' } --> becomes { label: 'Value', value: 'Value' } and the slot for option ACTUALLY shows 'Label'

Originally posted by @carsoli in #565 (comment)

@carsoli carsoli changed the title let's wait for future feature requests to decide on one of the following Support different query behavior on KtField*Select May 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant