This repository has been archived by the owner on Oct 8, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Request: mini-Option in checkboxradio & textinput #4070
Comments
I just checked in the source JS for checkradio and testinput and both do have a mini option so maybe this is a documentation issue. Maybe @agcolom can take a look a this. |
What I actually meant was an entry inside of $.widget( "mobile.textinput", $.mobile.widget, {
options: {
theme: null,
// This option defaults to true on iOS devices.
preventFocusZoom: /iPhone|iPad|iPod/.test( navigator.platform ) && navigator.userAgent.indexOf( "AppleWebKit" ) > -1,
initSelector: "input[type='text'], input[type='search'], :jqmData(type='search'), input[type='number'], :jqmData(type='number'), input[type='password'], input[type='email'], input[type='url'], input[type='tel'], textarea, input[type='time'], input[type='date'], input[type='month'], input[type='week'], input[type='datetime'], input[type='datetime-local'], input[type='color'], input:not([type])",
clearSearchButtonText: "clear text",
mini: false //<<< this part not exists
}, ... and not: mini = input.jqmData("mini") == true, I wanted to set the default Value with: $.mobile.textinput.prototype.options.mini = true; |
@toddparker just checked the docs and all seems to be well covered in the element entries and the data-attribute page. @eugenb1 has now clarified the issue ( @eugenb1 thanks for the clarification) |
I can confirm that the checkboxradio and textinput widgets as well as the controlgroup function don't allow to programmatically set "mini" option. I will work on a fix. |
ghost
assigned jaspermdegroot
May 21, 2012
jaspermdegroot
added a commit
that referenced
this issue
Nov 8, 2012
jaspermdegroot
added a commit
that referenced
this issue
Nov 8, 2012
jaspermdegroot
added a commit
that referenced
this issue
Nov 8, 2012
jaspermdegroot
added a commit
that referenced
this issue
Nov 8, 2012
jaspermdegroot
added a commit
that referenced
this issue
Nov 8, 2012
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hey,
it would be great to set the default
mini
-Option for checkboxradio & textinput duringmobileinit
, I dont want to add adata-mini="true"
to each control.Currently I can only change the default mini-Option for:
The text was updated successfully, but these errors were encountered: