Task #2023
closedFE: Add empty option for clearable select boxes
100%
Description
Add empty option for clearable select boxes (SelectBox, BooleanSelectBox, EnumSelectBox). Empty option can be used for clearing select value (shotcut for clear button).
Files
Related issues
Updated by Radek Tomiška almost 5 years ago
- File empty-option.png empty-option.png added
- Status changed from New to Needs feedback
- Assignee changed from Radek Tomiška to Peter Štrunc
- % Done changed from 0 to 90
I added lokalized empty option into SelectBox, BooleanSelectBox, EnumSelectBox.
Commit:
https://github.com/bcvsolutions/CzechIdMng/commit/403cd961224d13ff10f2a95ee42abbea1a6ffdae
Could you provide me a feedback, please?
Updated by Peter Štrunc almost 5 years ago
- Status changed from Needs feedback to In Progress
- Assignee changed from Peter Štrunc to Radek Tomiška
It looks way better, thank you very much. Is it possible to add different "empty messages" to different places in IdM? Current message "--empty--" is great in EAV values and other simillar places, but when choosing system state for example, it would be nicer to have option "Active" instead.
Updated by Radek Tomiška almost 5 years ago
- Status changed from In Progress to Needs feedback
- Assignee changed from Radek Tomiška to Peter Štrunc
Thx for feeback and good idea, i've added configurable empty option label property into select boxes and change lacalization fo system state, commit:
https://github.com/bcvsolutions/CzechIdMng/commit/17b2396b09dcb8e442e457f7c2e51e2e211911bb
i fixed empty option usage in table bulk actions and in pageable select boxes (record number is correct now):
https://github.com/bcvsolutions/CzechIdMng/commit/713ad9b6afbd61ff9d39b30ee8d2f6adf1b9c678
Could you provide me a feedback again please?
Updated by Peter Štrunc almost 5 years ago
- Status changed from Needs feedback to Resolved
- Assignee changed from Peter Štrunc to Radek Tomiška
- % Done changed from 90 to 100
Hey Radek, it looks good. Thanks for this feature. I did not find anything wrong so i think its OK. Only thing is that in some cases it may be confusing that after selecting "empty" option, the content of the select ox is different than the thing you clicked on. We discussed this about system state select box. But i tihnk that it is OK this way and we may imporove it sometime in the future.
Updated by Radek Tomiška almost 5 years ago
- Status changed from Resolved to Closed
Updated by Radek Tomiška over 4 years ago
- Related to Defect #2423: User setting - Default page size - cannot be cleared added