TreeSelect - Inconsistent look and behavior
See original GitHub issueHello everybody,
TreeSelect
needs a little improvement in order to have a consistent look and behavior.
When either empty or populated, the symbol on the right side suggests that you can use it for expanding the control and getting the values, just like Select
.
On the other hand, when you click on it it will do something else: clearing the entrie(s), without asking for a confirmation.
Imagine that a user may want to provide additional entries to the existing ones. As we all know, you tend to click on the symbol to get the values. But this action clears the existing selected values. If you don’t know/remember the entries, you may be lost or forced to cancel and reenter the form.
Issue 2557 suggests an improvement (the clear icon should be visible only when value is selected), but it still does not provide a consistent user experience.
Maybe a confirmation dialog can help by forcing the user to confirm that he really wants to clear it.
Issue Analytics
- State:
- Created 7 years ago
- Comments:7 (4 by maintainers)
Top GitHub Comments
And with
Cascader
the inconsistency is bigger, as:This thread has been automatically locked because it has not had recent activity. Please open a new issue for related bugs and link to relevant comments in this thread.