svelte-forms
svelte-forms copied to clipboard
Svelte forms validation made easy
**Is your feature request related to a problem? Please describe.** I would like to se a variant of the combined function that is "either field A or B should be...
**Describe the bug** When you pass `validateOnChange: true` to a field's options, the field is not marked dirty when you change its value. **To Reproduce** Steps to reproduce the behavior:...
**Describe the bug** The function `min(5)` doesn't work if the value is a string of numbers ONLY ie: `'123'`. **To Reproduce** Steps to reproduce the behavior: 1. use `min(5)` with...
The email validator has a character length restriction between 2 and 7 characters. However, there are valid TLDs that are longer than that, e.g. .technology, .international, .photography, .university, .solutions, .foundation,...
**Describe the bug** The [`email` validator](https://github.com/chainlist/svelte-forms/blob/master/src/lib/validators/email.ts) has a character length restriction between 2 and 7 characters. However, there are valid TLDs that are longer than that, e.g. `.technology`, `.international`, `.photography`,...