33 Commits (master)
 

Author SHA1 Message Date
Conduitry 7616b07f8e remove workaround for missing event.relatedTarget
5 months ago
Conduitry 99662333e6 tweak readme
5 months ago
Conduitry 525407cb6d tweak some code comments
5 months ago
Conduitry 2f688744f2 enforce no parameter on action in types
6 months ago
Conduitry 6cbc2346c4 add initial types
6 months ago
Conduitry 0330ad5e12 some tiny adjustments
6 months ago
Conduitry 8e489ab1b6 make store value be validation message directly; do not expose .valid
7 months ago
Conduitry e3fdc88ee2 field -> validator
7 months ago
Conduitry 4bcfe70a5a svelte-tiny-validation -> svelte-tiny-validator
7 months ago
Conduitry 0e24074870 add some code comments
7 months ago
Conduitry adf7ed0a6f add readme note about falsy arguments in validate() and reset()
7 months ago
Conduitry 6bf9c2b587 format
7 months ago
Conduitry e876b949d9 add note about .set() to readme
7 months ago
Conduitry 97e740d679 just use `field()` instead of explicit `field(false)` in readme
7 months ago
Conduitry 52243e025a set message directly to writable field store, not value
7 months ago
Conduitry 6acf83078d add initial readme
7 months ago
Conduitry 7fadfaaee6 don't traverse DOM if messages are already enabled for this field
7 months ago
Conduitry 77f9154048 work around event.relatedTarget not being available sometimes
7 months ago
Conduitry 1e5699ef92 support ignoring falsy fields in reset() as well
7 months ago
Conduitry b10eed85cc add reset() convenient function
7 months ago
Conduitry a68aeef687 replace .reset() with .validate(false)
7 months ago
Conduitry 455a86b63b add .reset()
7 months ago
Conduitry 8040241d6b skip falsy fields in validate()
7 months ago
Conduitry 4cc1c0afe9 rework how field values are passed in
7 months ago
Conduitry f59c82dfef handle multiple action instances
7 months ago
Conduitry 2ac0771eb7 return validity boolean from .validate()
7 months ago
Conduitry f912c2c7b1 only trigger validation on focusing out of given element
7 months ago
Conduitry 36f7fb9ad2 add chill mode
7 months ago
Conduitry 83a14fb6d5 don't mutate validity store value
7 months ago
Conduitry 93ae65f384 make .validate() prepare fields that do not currently exist
7 months ago
Conduitry 00460240fa add blur event handler during capture phase
7 months ago
Conduitry 98dbe93f1f add initial version
7 months ago
Conduitry 836c15d320 initial commit
7 months ago