mysterious-toddler-20573
03/10/2022, 7:02 PMancient-angle-7831
03/10/2022, 7:02 PMancient-angle-7831
03/10/2022, 7:04 PMmysterious-toddler-20573
03/10/2022, 7:04 PMmysterious-toddler-20573
03/10/2022, 7:05 PMancient-angle-7831
03/10/2022, 7:25 PM#oob-content). Can you for example target multiple cards or block contents to be updated? (e.g. #oob-content1 and #oob-content2 etc...?mysterious-toddler-20573
03/10/2022, 7:42 PMancient-angle-7831
03/10/2022, 8:06 PMmost-jelly-15242
03/10/2022, 9:05 PMancient-angle-7831
03/11/2022, 6:49 AMbrief-sugar-79424
03/11/2022, 9:47 AMmysterious-toddler-20573
03/11/2022, 7:52 PMuser
03/12/2022, 5:32 AMsteep-france-23568
03/12/2022, 6:01 AMx-data state when each input fired the change event. But then I don't want to use a Javascript fetch call, I'd be much happier with an hx-patch to match every other call in my frontend.steep-france-23568
03/12/2022, 6:01 AMuser
03/12/2022, 6:25 AM<button name="something" value="works" hx-target="#replaceMe", hx-swap="innerHTML" hx-post="/home/value">
<input hidden name="something" value="something">
Click Me
</span>user
03/12/2022, 6:25 AMmysterious-toddler-20573
03/12/2022, 11:09 AMhx-include parameter.mysterious-toddler-20573
03/12/2022, 11:12 AMhx-params offers filtering, but it sounds like you need to keep some state associated with each input. I would look at using the htmx:configRequest event: https://htmx.org/events/#htmx:configRequest and iterating through all the inputs by name to check if they changed and filtering out the parameters that did not. This will require some client side scripting to track initial values as well.steep-france-23568
03/12/2022, 11:17 AMdata- attribute. Cool thank you.faint-egg-43233
03/12/2022, 2:18 PM:hx-trigger="someBooleanValue ? 'click' : 'none'"
which would mean: if someBooleanValue is false then the trigger is disabled. But that doesn't seem to work.
I do see that alpinejs changes the value of hx-trigger when the boolean changes, but it seems that htmx disregards any changes made to the attribute.mysterious-toddler-20573
03/12/2022, 2:35 PMfaint-egg-43233
03/12/2022, 2:36 PMfaint-egg-43233
03/12/2022, 2:40 PMsomeBooleanValue is an alpinejs field defined in x-datafaint-egg-43233
03/12/2022, 4:35 PMgorgeous-airport-54386
03/12/2022, 4:36 PMfaint-egg-43233
03/12/2022, 4:39 PMgorgeous-airport-54386
03/12/2022, 4:39 PMfaint-egg-43233
03/12/2022, 4:40 PMmysterious-toddler-20573
03/12/2022, 7:52 PM