Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(fieldset): support root conditionals for fieldsets (#23)
* create playground to test things * docs(select-validation) - extract options values into an array * docs(select-validation) - extract options values into an array * feat(select) - update yupSchema * fix(yupSchema) - tests * add whitespace to yupSchemas * docs(select) - add tests for select * remove comments * add missing assertions * Revert "create playground to test things" This reverts commit 3312f29. * Handle null and empty string. Set custom error message. Add more tests and examples * Sandrina's self-review * fix the bug with a lot of changes. clean next * Clean unnecessary changes - commit it for future story * write test * branch-of-branch - verify old option is no longer valid * Release 0.4.1-dev.20230702181843 * also allow null in required select/radio fields * Release 0.4.1-dev.20230703082439 * fix schema type string -> number * fix incorrect json schema - default value was invalid * Still allow "null" in conventional empty fields * Release 0.4.1-dev.20230703161935 * handle conditionals that include select fields * Release 0.4.1-dev.20230703195833 * refactor ''/null edge-case to use .transform() * Release 0.4.1-dev.20230703203242 * Revert back to 0.4.0-beta.0 --------- Co-authored-by: Gabriel <gabriel.garcia@remote.com>
- Loading branch information