Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enh #3279: CJuiAutoComplete: added inputType option that controls the type of the generated input field #3765

Closed

Conversation

Sibilino
Copy link
Contributor

Enh #3279

Originally, the CJuiAutoComplete widget always generated an input of type="text". The only way of changing the input type was to override the run() method, which contained most of the widget's code.

After merge, the CJuiAutoComplete widget will accept an additional option inputType which controls the autocomplete input's type. Its default value is 'text' and accepts either 'text', 'search', 'email', 'tel' or 'url'.

Furthermore, the HTML-generating code has been moved to a separate protected function for easier overriding.

@samdark
Copy link
Member

samdark commented Mar 13, 2017

Won't be fixed in 1.1.

@samdark samdark closed this Mar 13, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants