Files
integreat/src/clj/auto_ap
Bryce acd4184ef0 Fix toggle-amount-mode: avoid cursor context entirely for HTMX re-render
The previous attempts to set up form cursor context in toggle-amount-mode
were failing because the cursor library's dynamic binding model is complex
and requires specific initialization through fc/start-form.

Instead of trying to recreate the cursor context, this fix:
1. Creates transaction-account-row-no-cursor* that renders rows with explicit
   field names and values (no cursor functions)
2. Rewrites toggle-amount-mode to directly construct the data-grid HTML
   using map-indexed over the accounts vector
3. Removes the broken manual cursor binding attempts
4. Removes unused auto-ap.cursor import

This ensures the toggle handler works independently of the wizard's cursor
context while still producing identical HTML output.
2026-05-21 07:44:43 -07:00
..
2023-05-01 17:10:34 -07:00
2026-01-05 21:37:30 -08:00
2024-10-15 06:45:33 -07:00
2026-05-16 00:36:16 -07:00
2026-04-09 14:32:39 -07:00
2026-01-05 21:37:30 -08:00
2026-03-30 22:36:12 -07:00
2026-05-16 00:16:44 -07:00
2023-10-30 12:35:18 -07:00
2025-03-12 10:56:16 -07:00
2026-05-16 00:16:44 -07:00
2025-12-04 11:18:36 -08:00
2024-03-11 15:22:27 -07:00
2024-11-18 19:41:54 -08:00
2026-05-19 20:55:21 -07:00
2023-06-13 08:48:26 -07:00
2024-04-22 14:33:10 -07:00