simplifies alpine for syncing props.

This commit is contained in:
Bryce
2024-03-21 21:09:18 -07:00
parent 2891503377
commit 87952b79d1
11 changed files with 6850 additions and 115 deletions

View File

@@ -470,6 +470,7 @@
(com/validated-field
{:errors (fc/field-errors)
:x-data (hx/json {:location (fc/field-value)})}
;; TODO make this thing into a component
[:div {:hx-trigger "changed"
:hx-target "next *"
:hx-swap "outerHTML"