Uploaded image for project: 'Hippo CMS'
  1. Hippo CMS
  2. CMS-7161

Setting String field size property does not do anything

    XMLWordPrintable

Details

    Description

      When editing a document type 'A' you can set the property 'size' when adding a String field.
      This results in setting the 'size' attribute on the input in that field of document type A.

      The 'size' attribute however does not affect the user experience at all since the input width is set to 100%, filling the parent div.

      If the size attribute was intended to determine the max number of characters in the input field the attribute maxlength should be used.

      http://www.w3.org/TR/2012/WD-html5-20121025/common-input-element-attributes.html#the-size-attribute
      http://www.w3.org/TR/2012/WD-html5-20121025/common-input-element-attributes.html#the-maxlength-attribute

      Attachments

        Activity

          People

            jsheriff Junaidh Kadhar Sheriff
            jdegooijer Joeri de Gooijer
            Votes:
            0 Vote for this issue
            Watchers:
            9 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: