ICEfaces
  1. ICEfaces
  2. ICE-2961

ice:selectInputDate readOnly attribute

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.6.2, 1.7RC1
    • Fix Version/s: 1.8RC1, 1.8
    • Component/s: ICE-Components
    • Labels:
      None
    • Environment:
      All

      Description

      The selectInputDate component doesn't have a readOnly attribute. This should look/function in a similar way to how the readOnly attribute works with ice:InputText. A possible workaround would be to use the disabled attribute on the selectInputDate and then change the disabled css style to appear similar to the readOnly inputText.

        Activity

        Hide
        Priyanka Hajare added a comment -

        A work around for this issue will be using onkeydown="javascript:return false;" , that should do the trick of making ice:selectInputDate readonly,

        <ice:selectInputDate id="pay1" value="" renderAsPopup="true" popupDateFormat="MM/dd/yyyy" required="false" onkeydown="javascript:return false;" imageDir="/images/common/" />

        Show
        Priyanka Hajare added a comment - A work around for this issue will be using onkeydown="javascript:return false;" , that should do the trick of making ice:selectInputDate readonly, <ice:selectInputDate id="pay1" value="" renderAsPopup="true" popupDateFormat="MM/dd/yyyy" required="false" onkeydown="javascript:return false;" imageDir="/images/common/" />

          People

          • Assignee:
            Unassigned
            Reporter:
            Arran McCullough
          • Votes:
            2 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: