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
{{ message }}
This repository has been archived by the owner on Aug 6, 2024. It is now read-only.
Not sure if this is the case with other types of inputs as well
Steps To Reproduce
I noticed that was not picking values from props once it got rendered. Flow on my UI was like this:
I went to /templates page, entered a search query
From the filtered list of templates clicked on one of them, reached template detail page.
from here I click back(& expect the RESET_TEMPLATE_FILTER action to run on mount)
It does, but just before that, store already had previously entered search query
a. with this value the input rendered itself
b. after my action ran, it emptied the query from store
c. but input did not clear it
Public Sample App
No response
Version
Appsmith v1.9.22-SNAPSHOT
The text was updated successfully, but these errors were encountered:
Is there an existing issue for this?
Description
This came up when I was working on ticket, where we want filters and search input to clear on landing the templates page again after the first time.
This is occurring because, the SearchInput is not rendering again in :
https://github.com/appsmithorg/design-system/blob/release/packages/design-system/src/SearchInput/SearchInput.tsx
And can be fixed by adding this to SearchInput:
Steps To Reproduce
I noticed that was not picking values from props once it got rendered. Flow on my UI was like this:
a. with this value the input rendered itself
b. after my action ran, it emptied the query from store
c. but input did not clear it
Public Sample App
No response
Version
Appsmith v1.9.22-SNAPSHOT
The text was updated successfully, but these errors were encountered: