mysterious-toddler-20573
03/01/2021, 3:09 AMgentle-dream-18175
03/01/2021, 3:19 AMgentle-dream-18175
03/01/2021, 3:20 AMmysterious-toddler-20573
03/01/2021, 3:26 AMgentle-dream-18175
03/01/2021, 3:48 AMif not form.errors and form.is_bound. Basically, if you posted a form (form.is_bound) and everything is good, I want to fire an event that removes the modal. But htmx:afterSettle and htmx:afterOnLoad and htmx:load didn't work. I think what i'm looking for is an event that fires once this element is present in the dom at all. the server will only render this dom node in the case of a successfully posted form...gentle-dream-18175
03/01/2021, 4:04 AMgentle-dream-18175
03/01/2021, 4:06 AMgentle-dream-18175
03/01/2021, 4:15 AMmysterious-toddler-20573
03/01/2021, 4:53 AMmysterious-toddler-20573
03/01/2021, 4:54 AMmysterious-toddler-20573
03/01/2021, 4:54 AMmysterious-toddler-20573
03/01/2021, 4:54 AMgentle-dream-18175
03/01/2021, 4:55 AMmysterious-toddler-20573
03/01/2021, 4:56 AMmysterious-toddler-20573
03/01/2021, 4:56 AMmysterious-toddler-20573
03/01/2021, 4:57 AMgentle-dream-18175
03/01/2021, 4:57 AMmysterious-toddler-20573
03/01/2021, 4:57 AMmysterious-toddler-20573
03/01/2021, 4:57 AMmysterious-toddler-20573
03/01/2021, 4:57 AMgentle-dream-18175
03/01/2021, 4:57 AMmysterious-toddler-20573
03/01/2021, 4:57 AMmysterious-toddler-20573
03/01/2021, 4:57 AMmysterious-toddler-20573
03/01/2021, 4:58 AMgentle-dream-18175
03/01/2021, 5:02 AMledgers page. right now that whole UI is fully re-rendering the body, and I think what I want, in order to demonstrate the utility of this, is for only the table to re-render. reorganizing seems kinda tough though. all my filters and paginator need to target just the table, and so my backend view function needs to render one template for the full page load (not an htmx request) and one template for the partials.
The pattern is out there already, and there's a library for doign this sorta thing, but I guess I didn't see the pattern correctly when I'm starting and now rewriting it seems a little messy. But i'm gonna give it a try and see what happens. This is the demo I'm gonna give to my company btw, a lot of people I've shown little tidbits of this to are really excited by it.gentle-dream-18175
03/01/2021, 6:32 AMtall-dinner-62086
03/01/2021, 10:39 AMmysterious-toddler-20573
03/01/2021, 2:10 PMmysterious-toddler-20573
03/01/2021, 2:11 PMmysterious-toddler-20573
03/01/2021, 2:11 PM