corejavascript / corejavascript/typeahead.js
Autocomplete input in form with jQuery Unobtrusive Validation prevents form from submitting
Open
- Dominant language
- JavaScript
- Stars
- 968
- Forks
- 231
- PR merge metrics
- No merged PRs in 30d
Description
I have a form with a required (`data-val-required`) autocomplete field. When the field contains a value and I attempt to submit the form, jQuery validation fails on the cloned field (`tt-hint`) because it copied the `data-val` attributes.
I suggest removing `data-val=true` from the cloned field. Let me know if you need an example.
Contributor guide
Assessment
This issue has not been assessed yet.