https://htmx.org logo
Hello, new htmx clojure developer here. I am impl...
# htmx-general
s
Hello, new htmx clojure developer here. I am implementing tabs on a page exactly like the HATEOAS example from the htmx site. The content of each tab consists of input fields and a Save button to post the fields to the server. I want to prevent the user going to a different tab if the current tab has unsaved changes. Is there a hypermedia pattern I may be not seeing to do that? Or, am I assuming correctly, that I will need to sprinkle in some scripting to prevent a change of tab if there are unsaved changes.