This repository has been archived by the owner on Jul 31, 2024. It is now read-only.
f-form-builder
: Select input with ability to create new options and a custom async validator nehaves incorrectly
#160
Labels
bug
Something isn't working
Bug description
When using an async validator to determine if validity is true or false, for newly created options, the option list gets appended BEFORE the return of the async validator to determine the validity.
Expected behaviour
When creating new options, and a custom async validator is present, the list of options should get appended AFTER the validation is true.
Video
Screen.Recording.2023-10-13.at.7.01.01.PM.mov
Fields passed to form builder:
Custom async validator
Reproducible example: flow2-vue-starter-kit
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context
The text was updated successfully, but these errors were encountered: