autocomplete - Parsley.js - Re-validate a field after selecting an auto-complete value or drag-and-drop -


after parsley validation, error message may displayed near field.

if user types corrected value, field automatically re-validated, message disappear, , field marked success.

however, if valid value entered either i) selecting field's "auto-complete" dropdown or ii) dragging-and-dropping field, not invoke re-validation, , error message remains though field has valid value.

example...

enter image description here

q: how force fields re-validate upon selecting value browser's auto-complete dropdown/drag-and-drop?

(i realise can specify no auto-complete on fields, may not desirable, , doesn't solve drag-and-drop issue.)

in case, use bootstrapvalidator validation.

then, have revalidate field after fetching data

$('yourform).bootstrapvalidator('revalidatefield', 'inputname'); 

Comments

Popular posts from this blog

toolbar - How to add link to user registration inside toobar in admin joomla 3 custom component -

linux - disk space limitation when creating war file -