You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you want to submit the form with onSelect() and need a synced value field, you have the problem that the value field isn't updated already. It's a problem of the event handling of fireEvent('select'), because the value field is synced with that event, too.
A pragmatic solution is to slightly delay the form submit, like formElement.submit.delay(10, formElement), a bit better is it to periodically check the valueElement value with the provided data.value.
A perfect solution might be extending the plugin with another event, but that might be more work then one want to afford.
The text was updated successfully, but these errors were encountered:
If you want to submit the form with onSelect() and need a synced value field, you have the problem that the value field isn't updated already. It's a problem of the event handling of fireEvent('select'), because the value field is synced with that event, too.
A pragmatic solution is to slightly delay the form submit, like
formElement.submit.delay(10, formElement)
, a bit better is it to periodically check the valueElement value with the provided data.value.A perfect solution might be extending the plugin with another event, but that might be more work then one want to afford.
The text was updated successfully, but these errors were encountered: