Uploaded image for project: 'OFBiz'
  1. OFBiz
  2. OFBIZ-6395

The lookup and text-area have a read-only attribute but not the text input field

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Implemented
    • Affects Version/s: Trunk
    • Fix Version/s: 16.11.01
    • Component/s: framework
    • Labels:
      None

      Description

      I will add a read-only attribute to the text input field. Using the display type is not enough, because it's uneasy to assign values through Javascript as using the lookup description-field-name shows OOTB.

        Activity

        Hide
        jacques.le.roux Jacques Le Roux added a comment -

        Implemented at revision: 1680921

        I forgot to say that the disabled option is also not a good fit when you want to show the submitted values on return, hence the need for readonly.

        Note though that this option does not work with select and you need to handle this with Javascript as explained for instance at https://stackoverflow.com/questions/368813/html-form-readonly-select-tag-input

        Show
        jacques.le.roux Jacques Le Roux added a comment - Implemented at revision: 1680921 I forgot to say that the disabled option is also not a good fit when you want to show the submitted values on return, hence the need for readonly. Note though that this option does not work with select and you need to handle this with Javascript as explained for instance at https://stackoverflow.com/questions/368813/html-form-readonly-select-tag-input

          People

          • Assignee:
            jacques.le.roux Jacques Le Roux
            Reporter:
            jacques.le.roux Jacques Le Roux
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development