Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-15299

Inputs size > Add the size in css, not with the size attribute

    XMLWordPrintable

    Details

    • Impact type:
      Configuration Change
    • Upgrade notes:
      Hide

      The "size" property is now ignored on text widgets, it should be added in style as a width instead

      Show
      The "size" property is now ignored on text widgets, it should be added in style as a width instead
    • Sprint:
      Sprint DM/Studio 5.9.6-4

      Description

      The forms fields needs to be more responsive (NXP-14966).
      They now have a 100% width behavior by default.

      To update the width in Studio, a size value is suggested. It's not ok because:

      • the size attribute is not consistent between each inputs, textarea, etc
      • the size attribute value is approximative between inputs and browsers
      • the size attribute doesn't override the width style value

      The size value should be add in styles as width, not with the size attribute.

      More about this:
      http://stackoverflow.com/questions/6699575/size-attribute-for-an-input-field-not-being-honored

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 1 hour
                  1h
                  Remaining:
                  Remaining Estimate - 1 hour
                  1h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified