You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is PRO feature, but I don't have access to PRO repo therefore I created the issue here:
If we're using CMultiSelect with multiple={false} which means we only want to select one option, the selected option would be selected as a placeholder which seems to be wrong. Here's a screenshot how it looks like when multiple options are selected:
As you can see, selected values have a nice black color.
But when you select only one option, than the placeholder is changed with selected value which doesn't make any sense to me:
In multiple selections example we have selectionType="text", and in single selection example it doesn't matter if we choose text, tags or avoid it altogether.
I see that in multiple selection we have multiple <span/> elements inside form-multi-select-selection that represent selected values and the the input at the end. And I understand in single selection we don't want one span and input after it. But the current solution with placeholder also makes no sense and it results in placeholder and selected value to be the same color. I think we should control the input through React and select input's value, not it's placeholder.
The text was updated successfully, but these errors were encountered:
This is PRO feature, but I don't have access to PRO repo therefore I created the issue here:
If we're using
CMultiSelect
withmultiple={false}
which means we only want to select one option, the selected option would be selected as a placeholder which seems to be wrong. Here's a screenshot how it looks like when multiple options are selected:As you can see, selected values have a nice black color.
But when you select only one option, than the placeholder is changed with selected value which doesn't make any sense to me:
In multiple selections example we have
selectionType="text"
, and in single selection example it doesn't matter if we choosetext
,tags
or avoid it altogether.I see that in multiple selection we have multiple
<span/>
elements insideform-multi-select-selection
that represent selected values and the the input at the end. And I understand in single selection we don't want one span and input after it. But the current solution withplaceholder
also makes no sense and it results in placeholder and selected value to be the same color. I think we should control the input through React and select input's value, not it's placeholder.The text was updated successfully, but these errors were encountered: