HTMX in selection fields in a py4web FORM

11 views
Skip to first unread message

domel zetaz

unread,
Jun 11, 2026, 1:38:11 PM (2 days ago) Jun 11
to py4web
The field requires a `name` attribute with a value, otherwise, the AJAX action associated with the field's `onchange` event will not send the selected value to the invoked procedure. The generated form does not include this attribute. 
Adding the missing attribute to `attrs` allowed HTMX to locate and send it.
Reply all
Reply to author
Forward
0 new messages