QSelect: extra prop no-option-text #9462
Unanswered
artnova-david
asked this question in
Ideas / Proposals
Replies: 1 comment 1 reply
-
|
I agree. I would advise you to create a |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
When using many q-selects in a form that could potentially have an empty array its a tedious task to provide every 'q-select' with the 'no-option' slot. I know you can create a custom select component that inherits/extends the QSelect component, but for a basic message like '...no options found' it's a bit overkill. ex: I you have 10+ selects on a form it could lead to 50+ lines of code.
It would be nice to have an extra prop for example: "no-options-text", that show a basic q-item with the text greyed out. If someone needs a more fancy solution, they can still use the #no-options slot to override.
Beta Was this translation helpful? Give feedback.
All reactions