ajax-input-validator
v1.2.6
Published
Developed for use in React html input's to watch for changes and AJAX run a validator. ES6 only.
Downloads
7
Readme
ajax-input-validator
Developed for use in React html input's to watch for changes and AJAX run a validator
Usage
import AjaxInputValidator from 'ajax-input-validator';
let aiv = new AjaxInputValidator({time:2000, validate_func:validate_func});
<input onKeyUp={aiv.keyUp} onPaste={aiv.paste} onBlur={aiv.blur} />
License
MIT, see LICENSE.md for details.
HEALTH WARNING
The big fail is that the plugin is dumb by design and doesn't know what validation function is being executed, therefore I don't yet have a test I can run.