Closed bartoszkrawczyk2 closed 9 months ago
It can be achieved with: hx-swap="morph:{ignoreActiveValue:true}"
.
Can be closed now.
@bartoszkrawczyk2 I tried this with hx-swap-oob but it tries to use {ignoreActiveValue:true} as part of the selector.
htmx__org.js?v=9dcca19b:533 Uncaught DOMException: Failed to execute 'querySelectorAll' on 'Document': '{ignoreActiveValue:true}' is not a valid selector.
Hi, is there any way to preserve input value after swap?