Name | Modified | Size | Downloads / Week |
---|---|---|---|
Parent folder | |||
Add toggle-able fields, Removed focused from onChange source code.tar.gz | 2016-09-17 | 717.5 kB | |
Add toggle-able fields, Removed focused from onChange source code.zip | 2016-09-17 | 740.6 kB | |
README.md | 2016-09-17 | 520 Bytes | |
Totals: 3 Items | 1.5 MB | 0 |
- Now you could use requiresName, requiresCVC, and requiresPostalCode to toggle the displayed fields of CreditCardInput.
- onChange will not receive
focused
value, because focusing on a field will not trigger onChange event which might cause rage, confusion, and pain when using thefocused
value - Now you could use
onFocus
to properly get the currently focused field (e.g. when you want to display a help text just like this)