Open rohan-arthur opened 2 years ago
@AmanAgarwal041 assigning this to you since this looks like something that should be handled from he client side. Please let me know if it needs to be handled on server side.
@rohan-arthur @parth-appsmith we will be requiring design to add this functionality.
@AmanAgarwal041 from what I understand of this issue is that once the selected variables are removed from the query variable they still appear selected in the pagination with an error (Since those variables doesn't exists). I dont see where are designs required for this, shouldn't the interaction be as soon as the source of the variable doesn't exists then there is no point that they should appear in the dropdown. The dropdown in this case should fall back to default state (nothing is selected).
Even providing a CTA to reset values is adding an extra step of friction to an experience which should happen automatically.
CC: @rohan-arthur
@parth-appsmith you're right of course, and that's the bug we want to fix. However, the component itself can be better: suppose I select something in the drop-down, how can I un-select it again? This is currently not working. I imagine a "blank" value in the drop-down should work - would you please suggest a suitable existing component?
There are two scenarios we need to address:
As discussed today, let's confine this issue to scenario 1. Scenario 2 will be tackled in a separate issue.
The solution should be similar to the action selector, in which I can reset my trigger action after selecting something first:
However, instead of No action
, this dropdown should have the reset option as None
, so that:
6m usage of GraphQL: 341 Impacted % of users: 25
Stat | Values |
---|---|
Reach | 85 |
Effort (months) | 0.25 |
assigning medium priority to this
Is there an existing issue for this?
Description
https://user-images.githubusercontent.com/94514895/185849311-b4057a1d-319f-4825-b924-377edbee516f.mov
Steps To Reproduce
none
, but when you switch back to the previously selected option, these variables are still present and they cannot be removed.Public Sample App
No response
Version
Cloud