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
Is it possible to set the values of the search form items?
I implemented a caching mechanism; if the user goes back to the table from another route, he will see the same search result.
My issue is that I haven't found any way to set the form values (of input, select, daterange) from cache by code.
I tried scanning this.$refs.myTable.$refs.searchForm for a way but couldn't find the right place and make it work.
The text was updated successfully, but these errors were encountered:
@Tony-xubiao
I haven't found a better way than doing something like this... It doesn't work for every input type. this.$refs[this.tableRef].$refs.searchForm.$refs.form.$children[0].$children[1].$refs.reference.handleInput({ target: { value: searchParams.day }})
Is it possible to set the values of the search form items?
I implemented a caching mechanism; if the user goes back to the table from another route, he will see the same search result.
My issue is that I haven't found any way to set the form values (of input, select, daterange) from cache by code.
I tried scanning this.$refs.myTable.$refs.searchForm for a way but couldn't find the right place and make it work.
The text was updated successfully, but these errors were encountered: