User provided input for Data Attributes with list property
Opened this issue · 0 comments
I am using the FE version 2.12.0.
When we use Data Attribute that is list
, potentially with multiselect
property enabled, the FE expects to get the values that user can select from the list that is shown.
In our use case, the user needs to provide own input as values to list or set (if all values should be unique) with the possibility to validate using the constraints. The attribute has content STRING
, but there can be more values, so it has list
property enabled. However, there is no way for the user to provide custom values other than were loaded and are shown as list in the UI.
The solution can be to let user provide input, it will be validated according the constraint, and when it valid, user can have Add
button that will include the value into the list. User should have option to remove or update the value from the list.
When existing item in the list is selected, it can be removed, or it can be edited, which will provide the input field with the same value to be updated for user.
This is not possible currently, user can only select already available items from the list.