This change implements #1726 by allowing users to type in any text they want into a ComboBox, without having it removed. This functionality is behind a new flag, called allowArbitraryValues. The default is false, which means that the ComboBox will continue to function the same as it did before if the user does not enable it.
When the value is not present in items (it is an arbitrary value), the value of selectedId will be undefined.
Please let me know what changes are needed. If a separate component is desired instead, I'm happy to make the change.
This change implements #1726 by allowing users to type in any text they want into a
ComboBox
, without having it removed. This functionality is behind a new flag, calledallowArbitraryValues
. The default isfalse
, which means that theComboBox
will continue to function the same as it did before if the user does not enable it.When the value is not present in
items
(it is an arbitrary value), the value ofselectedId
will beundefined
.Please let me know what changes are needed. If a separate component is desired instead, I'm happy to make the change.
Thanks!