Skip to content
This repository has been archived by the owner on Oct 8, 2021. It is now read-only.

Ability to use data-mini by default #4166

Closed
patik opened this issue Apr 22, 2012 · 5 comments
Closed

Ability to use data-mini by default #4166

patik opened this issue Apr 22, 2012 · 5 comments

Comments

@patik
Copy link
Contributor

patik commented Apr 22, 2012

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>
@toddparker
Copy link
Contributor

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
Copy link
Contributor Author

patik commented Apr 23, 2012

All set.

@staabm
Copy link
Contributor

staabm commented Feb 20, 2014

👍

@thenewguy
Copy link

this would be very useful

@ghost
Copy link

ghost commented Apr 13, 2014

did this ever get implemented?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants