Why submission result doesn't update?
In the component below, it appears that
Let's say I enter "12" in the input field and submit the form. In this case,
After that, I input "34" into the field, which passes the validation. I expected that since the action does not return anything in this scenario,
Can you explain why this happens? I couldn't find any documentation about it.
submission does not update when the action does not return anything.Let's say I enter "12" in the input field and submit the form. In this case,
submission.result would be:After that, I input "34" into the field, which passes the validation. I expected that since the action does not return anything in this scenario,
submission.result should be undefined and the error message should not be displayed. However, it seems that submission.result does not update at all. I must return something from the action to update the submission result.Can you explain why this happens? I couldn't find any documentation about it.
