Skip to content


Subversion checkout URL

You can clone with
Download ZIP


degradeInputs in latest git version gone #2123

negue opened this Issue · 3 comments

4 participants


Is this now a new feature or just a bug?

I really would need the feature back .... :)


Worked on it today. Almost done. Hang tight :)


Need this one too.

@scottjehl scottjehl closed this in 79d3aa6

By the way, the doc @ indicates that the type="search" will be degraded to type="text": but the type get's degraded to type="true".
This is an old feature, not caused by the commit.

The code problem could be the:
search: true, // should be search: "text" ???
optType = o.degradeInputs[ type ] || "text"; // the value for search is "true"
if ( o.degradeInputs[ type ] ) { //

And one could save a micro micro sec by having the declaratiom of optType statement in the code segment:
if ( o.degradeInputs[ type ] ) {

Degraded Form Input Types
jQuery Mobile degrades several HTML5 input types back to type=text, or type=number after adding enhanced controls. For example, inputs with a type of range are enhanced with a custom slider control, and their type is set to number to offer a usable form input alongside that slider. Inputs with a type of search are degraded back to type=text after we add our own themable search input styling.

@timmywil timmywil referenced this issue from a commit
scottjehl brought back degradeInputs page option, this time as a decoupled page…
… plugin file. Fixes #2123
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.