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
When using single select, user can not clear his selection, this scenario can be handled only be creating select option, that have dummy value for clear selection purpose
Proposed solution
Add some X icon before drop down icon for clearing purpose, and also when user chose already selected option it will clear (unselect) selection
The text was updated successfully, but these errors were encountered:
I think this should not be much of problem, from field side, Select.js can be extended with some clearSelection function with this.props.onSelect(undefined) (something similar is also needed for basic select (multi select) field), that would be passed to into DisplayValue.js that will have another icon su-times before <Icon className={displayValueStyles.toggle} name="su-angle-down" />
But not every select field need clearing, for example, when there is listView and on bottom you can choose how many items should be shown (limit), there is not necessary to have this clear feature. So there should be some more configuration available to enable/disable it. Maybe also for xml files there should be some parameter when formView is used
I am not much skilled in react to implement it, maybe someone can take look on it
Problem description
When using single select, user can not clear his selection, this scenario can be handled only be creating select option, that have dummy value for clear selection purpose
Proposed solution
Add some X icon before drop down icon for clearing purpose, and also when user chose already selected option it will clear (unselect) selection
The text was updated successfully, but these errors were encountered: