numerus/web/template/invoices
jordi fita mas 149557e42e “Integrate” the tags’ condition into the input field
We have reconsidered the toggle thing and instead moved the selection
into a little menu on top of the input, like the input’s label does à
la Material Design.

I just moved the checkboxes into a new details, that works as a menu,
but i had to add the type="search" to the existing input in the tags
field, or the CSS would style the checkboxes as well.

I do not do anything when the checkbox selection changes because that
already triggers a POST to the server that returns the new HTML with
the checkbox changed, and the JavaScript only has to retrieve that new
structure, exactly as it does in the initial rendering.

Since we want to add a little description to the options, i no longer
can use the same SelectOption in ToggleField, even though i could have
reused the Group element, but that felt wrong.
2023-04-16 19:01:11 +02:00
..
edit.gohtml Show the duplicate invoice form in a dialog 2023-04-04 14:39:55 +02:00
index.gohtml “Integrate” the tags’ condition into the input field 2023-04-16 19:01:11 +02:00
new.gohtml Show the duplicate invoice form in a dialog 2023-04-04 14:39:55 +02:00
products.gohtml Show the duplicate invoice form in a dialog 2023-04-04 14:39:55 +02:00
view.gohtml Use HX-Location instead of HX-Refresh when editing invoices 2023-04-05 10:29:03 +02:00