Skip to content
This repository has been archived by the owner on Aug 12, 2019. It is now read-only.

Typeahead: nette validation problem when using hint #32

Closed
rebendajirijr opened this issue Aug 15, 2015 · 1 comment
Closed

Typeahead: nette validation problem when using hint #32

rebendajirijr opened this issue Aug 15, 2015 · 1 comment

Comments

@rebendajirijr
Copy link

When typeahead hint is enabled, the duplicated input contains attributes of the original input (including data-nette-rules) so it breaks form validation. The followign code solves the problem:

$('.tt-hint').removeAttr('data-nette-rules');

IMHO, it could be mentioned in nextras.typeahead.init.js and save time others.

@hrach
Copy link
Member

hrach commented Sep 29, 2016

Could you create PR? Thanks!

@hrach hrach closed this as completed Aug 12, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants