This repository was archived by the owner on Oct 8, 2021. It is now read-only.
This repository was archived by the owner on Oct 8, 2021. It is now read-only.
Ability to use data-mini by default #4166
Closed
Description
I'd like to be able to set all controls to use data-mini="true"
by default, via either a $.mobile
setting or an attribute/class on the div[role=page]
. At minimum, when the attribute is put on a reasonable container (form
or fieldset
) I'd like it to apply to all controls within.
Also, it seems inconsistent that you can put it on a container like this:
<fieldset data-role="controlgroup" data-mini="true">
<input type="checkbox"> <!-- This will be mini-fied -->
</fieldset>
But not other containers:
<div data-role="fieldcontain" data-mini="true">
<input type="text"> <!-- this will be the normal size -->
</div>
Activity
toddparker commentedon Apr 23, 2012
Thanks for the suggestion. Mind link this up to the feature request wiki page:
https://github.com/jquery/jquery-mobile/wiki/Feature-Requests
We'll re-open when we tackle this feature.
patik commentedon Apr 23, 2012
All set.
staabm commentedon Feb 20, 2014
👍
thenewguy commentedon Mar 1, 2014
this would be very useful
ghost commentedon Apr 13, 2014
did this ever get implemented?