Add createOptionPosition
prop to Select
component
#59364
Replies: 5 comments 5 replies
-
I would prefer we standardize one way to go about this. I know this is used throughout the product and it would be critical for this to behave the same wherever used. If we allow the |
Beta Was this translation helpful? Give feedback.
-
Doesn't it behave in the same way, but just looks differently? I do get the rationale of leaving things standardised, however it seems that this particular standard leads to a worse experience - the option of creating a new value is hidden, which could be a crucial part of the features functionality. Do we expect the user to know that the creation option is on the bottom of the list? Or do we offer an alternative UI for the same functionality, which I could leverage? |
Beta Was this translation helpful? Give feedback.
-
This is something we have discussed before, how in general the idea of "creating" something just in a select component can be confusing. |
Beta Was this translation helpful? Give feedback.
-
The component is being used to select certain filters for the list below. User can select a predefined value from already existing options or should be able to partially match a certain value, meaning create his own option. Example: I have a list and I want to filter down results by URL which contain a string If I type in
I'm not sure I understand how this would look like 🤔 |
Beta Was this translation helpful? Give feedback.
-
Hello, as you may have heard, we are transitioning away from using discussions to discuss feature requests. Due to the age and number of responses to this discussion, we are deciding to close it. If this is something you would like to see in Grafana, feel free to open an issue so the discussion can continue. Thank you! |
Beta Was this translation helpful? Give feedback.
-
Hey,
I'm using
MultiSelect
component withallowCustomValue
setting enabled and have run into a small issue. When the list has a lot of options it's not clear that you're able to create a new custom value, since that particular option sits at the bottom of the list.Select
components are based onreact-select
, which has a propcreateOptionPosition
- it lets you position Create new value option either as a first or last element of the list. Currently the prop is not supported, but I would gladly open a PR to allow passing it through.@staton-hyse11 @JoaoSilvaGrafana
Beta Was this translation helpful? Give feedback.
All reactions