#18434 closed defect (fixed)
ComboBox does not honor 'type' property. (Hard-coded into template.)
Reported by: | leftium | Owned by: | bill |
---|---|---|---|
Priority: | undecided | Milestone: | 1.11 |
Component: | Dijit - Form | Version: | 1.10.1 |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description
Steps to reproduce:
- Open http://jsfiddle.net/Leftium/4vwL6pqq/
- Inspect the ComboBox? dijit
Expected results:
- The input element of the dijit has
type=url
. - (iOS Safari) displays special keyboard for url entry.
Actual results:
- The input element of the dijit has
type=text
. - (iOS Safari) displays normal keyboard.
Proposed fix:
Use variable substitution in the template like the other dijits (TextBox?, ValidationTextBox?) that work as expected. In file dijit/form/templates/DropDownBox.html:
type="text"
-> type='${type}'
Change History (4)
comment:1 Changed 7 years ago by
comment:2 Changed 7 years ago by
Milestone: | tbd → 1.11 |
---|---|
Owner: | set to bill |
Status: | new → assigned |
Woops, nevermind I was looking at the wrong file. :-) OK yes, it makes sense to update the template like you said.
comment:3 Changed 7 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note: See
TracTickets for help on using
tickets.
I see that the fiddle doesn't work correctly (thanks for the test case) but dijit/form/templates/DropDownBox.html already has a variable for
type
:Not sure why it isn't working.