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
url provided in parameter hx-get="/tab1" gets triggered.
each time I click on tab , it reloads entire data .This is good for read only data.
However, if I have a input field filled , And I re-clicked the tab ,it reloads the tab & wipes out my previously filled data.
How can I stop the hx-get again? If not possible to prevent subsequent calls , how can I retain my input
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Refer example from https://htmx.org/examples/tabs-javascript/
url provided in parameter hx-get="/tab1" gets triggered.
each time I click on tab , it reloads entire data .This is good for read only data.
However, if I have a input field filled , And I re-clicked the tab ,it reloads the tab & wipes out my previously filled data.
How can I stop the hx-get again? If not possible to prevent subsequent calls , how can I retain my input
Beta Was this translation helpful? Give feedback.
All reactions