Skip to content
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
@patik

Description

@patik
Contributor

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

toddparker commented on Apr 23, 2012

@toddparker
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

patik commented on Apr 23, 2012

@patik
ContributorAuthor

All set.

staabm

staabm commented on Feb 20, 2014

@staabm
Contributor

👍

thenewguy

thenewguy commented on Mar 1, 2014

@thenewguy

this would be very useful

ghost

ghost commented on Apr 13, 2014

@ghost

did this ever get implemented?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @thenewguy@staabm@patik@toddparker

        Issue actions

          Ability to use data-mini by default · Issue #4166 · jquery-archive/jquery-mobile