jordi fita mas
149557e42e
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. |
||
---|---|---|
.. | ||
company.go | ||
contacts.go | ||
db.go | ||
form.go | ||
htmx.go | ||
invoices.go | ||
locale.go | ||
logger.go | ||
login.go | ||
pgtypes.go | ||
products.go | ||
profile.go | ||
recover.go | ||
router.go | ||
template.go |