data-reflex-permanentwill not be morphed in any way.
elementaccessor. You can even scoop up the attributes of parent elements. This leaves form submission in the cold, though... doesn't it? 🥶
formelement - or a child of that
formelement - then the data for the whole form will be properly serialized and made available to the Reflex action method as the
paramsis a dictionary that you can input into a django form as data, and then validate that data as you normally would.
data-reflex="change->Post#update"to each field. Since the field is inside the parent
formelement, all inputs are automatically serialized and sent to your Reflex class.
paramsinstance variable; it will be an empty dictionary.
beforecallbacks to do so:
data-reflex-permanentso that you don't lose UI state when a Reflex is triggered.
<input>fields. You're going to need to clear your form so the user can add more data.
reflex-formand we'll use it to set a target on the first text field, as well as an action on the submit button: