-
When i submit a form i except the formdata to be present in the request without using
As you can see, there is no Is there a way to do this? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hi! The docs should contain When it comes to submitting the form values without using binding is for now not possible, due to the way how the component lifecycle works. On each bind you can perform some custom logic, and also validate the field with instant feedback, like red validation message. I will think about possible solutions here, but fore now putting there Just to clarify, the request with new value will be triggered by default only when the field looses focus after the change, so not on each key stroke. |
Beta Was this translation helpful? Give feedback.
Hi! The docs should contain
hydro-bind
in there, so I will fix them. Good catch and sorry for the confusion.When it comes to submitting the form values without using binding is for now not possible, due to the way how the component lifecycle works. On each bind you can perform some custom logic, and also validate the field with instant feedback, like red validation message. I will think about possible solutions here, but fore now putting there
hydro-bind
is the only way.Just to clarify, the request with new value will be triggered by default only when the field looses focus after the change, so not on each key stroke.