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
The UI does not update correctly when using an enum_filter condition on a multiselect control. EnumFilterMultiselect.json.zip
From the above image, we can see that there are no selected options passed into the Multiselect control, but there are still items shown as selected:
enum_filter is a condition option inside common properties that allows a dropdown list to have its values changed/filtered based on the value of another control. For example in the image above, the default dropdown will show all the values (red, orange, yellow, green, blue, purple). If the user selects the checkbox, the dropdown values will then be filtered to show only a subset of the original list, say red, blue, green. This is currently working for a normal dropdown
The issue is with the Carbon Combobox where users have the ability to select multiple items from the dropdown. If there is an enum_filter applied to this Combobox, we are not able to filter the list of original values correctly for all the different scenarios.
if there were any preselected values before filter, the new filtered list should remove that selection - this does not work with Combobox
if there is a default value tied to this dropdown, we need to display that as automatically selected - this does not work with Combobox
if user makes any new selection in the filtered list and then the filter is removed, the number in the Combox does not get updated
There might be a few other cases that I dont recall with this not working, and its because of Combobox not allowing us to specify selected items, or clear selected items programmatically
The text was updated successfully, but these errors were encountered:
The UI does not update correctly when using an
enum_filter
condition on amultiselect
control.EnumFilterMultiselect.json.zip
From the above image, we can see that there are no selected options passed into the Multiselect control, but there are still items shown as selected:
enum_filter
is a condition option inside common properties that allows a dropdown list to have its values changed/filtered based on the value of another control. For example in the image above, the default dropdown will show all the values (red, orange, yellow, green, blue, purple). If the user selects the checkbox, the dropdown values will then be filtered to show only a subset of the original list, say red, blue, green. This is currently working for a normal dropdownThe issue is with the Carbon Combobox where users have the ability to select multiple items from the dropdown. If there is an
enum_filter
applied to this Combobox, we are not able to filter the list of original values correctly for all the different scenarios.There might be a few other cases that I dont recall with this not working, and its because of Combobox not allowing us to specify selected items, or clear selected items programmatically
The text was updated successfully, but these errors were encountered: