Using the allow-custom-options
attribute to allow the user to choose a "new" value (one that is not in the list of options).
Event Log | |
---|---|
Event | Details |
Waiting for events. |
If we type in an option that matches an existing option is should not show the option to add a custom option.
Event Log | |
---|---|
Event | Details |
Waiting for events. |
You can set the value of the allow-custom-options=
attribute to text that will be used in the dropdown.
The default value will be "Add (your value)...".
If you want to put the typed in value somewhere other than the very end, you can use the placeholder {{}}
If you just want the value that's being typed in, with no other hints use just allow-custom-options="{{}}"
Allow custom option (allow-custom-options=""
) and have a
minimum search string length of 5
(search-string-minimum-length="5"
.
You should be able to add custom options even if they are less than 5
characters long.