question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

TreeSelect - Inconsistent look and behavior

See original GitHub issue

Hello 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. 2016-08-04_142944 On the other hand, when you click on it it will do something else: clearing the entrie(s), without asking for a confirmation. 2016-08-04_143122 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:closed
  • Created 7 years ago
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
dxpscommented, Aug 4, 2016

And with Cascader the inconsistency is bigger, as:

  • when empty, clicking on the right symbol it looks and behave as it is used for expanding the control

image

  • but when an entry exists, the right symbol role changes:

image

0reactions
lock[bot]commented, May 3, 2018

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.

Read more comments on GitHub >

github_iconTop Results From Across the Web

PH26666: INCONSISTENCY USING "MAKE PUBLIC" OPTION ...
From the tree select : Applications/Planning Sample, right click and select "security/security assignments" 1c.
Read more >
TreeSelect - Ant Design
Property Description Default allowClear Whether allow clear false bordered Whether has border style true defaultValue To set the initial selected treeNode(s) ‑
Read more >
Layer status inconsistency in drawing views - MCAD Central
Most of the time, the sketch will show up in every view, although I can see that the layer status is ok (i.e....
Read more >
5 Design Studio for Order and Service Management
Behaviors provide a way to extend the functionality and appearance of task data. ... Composite Data View is Inconsistent Behavior on Task and...
Read more >
SIMATIC Safety - Configuring and Programming
also corrected the safety summary by hand to document the actual behavior of ... communication options (see Configuring and programming communication ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found