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
hey I'm running into an issue where the search state value doesn't get cleared when I'm doing the following:
<Command.InputonKeyDown={e=>{if(e.key==='Enter'&&e.currentTarget.value){// Do some logice.currentTarget.value='';// state.search is still equal to the old value here}}}
It would be great to expose useStore so I can import and do
conststore=useStore();
...
<Command.InputonKeyDown={e=>{if(e.key==='Enter'&&e.currentTarget.value){// Do some logice.currentTarget.value='';store.setState('search','')}}}
hey I'm running into an issue where the search state value doesn't get cleared when I'm doing the following:
It would be great to expose useStore so I can import and do
PR for the change here: #105
The text was updated successfully, but these errors were encountered: