Open gremo opened 7 months ago
Thank you for this issue. There has not been a lot of activity here for a while. Has this been resolved?
Friendly ping? Should this still be open? I will close if I don't hear anything.
Hey,
I didn't hear anything so I'm going to close it. Feel free to comment if this is still relevant, I can always reopen!
Still relevant !
I'm digging into live components last two weeks. I don't know if it's just me but the documentation doesn't clarify some aspects when using live components with forms (entire forms).
Validation & submitting: if I type in my
<input>
and then focus out, the field is validated but not submitted, thesave()
action of myAttendanceForm
component isn't invoked at all. Is there a way to enable validation ONLY if form is actually submitted, and not on the field change?Missing from documentation: submit the form if typing in the
<input>
field, after a short delay. How do I add autosubmit after user type on a field, with a delay of 500ms?This is not working:
data-model="on(input)"
just only validating the form as I type (not submitting).And the model:
... and the rendering: