ICEmobile
  1. ICEmobile
  2. MOBI-1157

mobileshowcase Date and Time demo readOnly not respected - ios only

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: EE 1.3.1.GA_P04
    • Fix Version/s: EE 1.3.1.GA_P04
    • Component/s: Applications
    • Labels:
      None
    • Environment:
      ICEmobile EE-1.3.1-GA_P04 Jenkins build 67
      Tomcat 8, ios ipad 9.3.2

      Description

      showcasemobile Date and Time demo - ios only
      When user native = true and read only = true the date and time can still be changed and submit.

        Activity

        Hide
        Judy Guglielmin added a comment -

        This is an iOS bug (feature?) as when I put the following :-
        <h:form>
        <input type="date" readonly="readonly"/>
        <mobi:commandButton value="Submit" type="submit"
        styleClass="submit"/>
        </h:form>
        the same behavior as above is noted.
        see
        http://stackoverflow.com/questions/37903780/read-only-date-field-on-ios-browser
        and appears to have been around since iOS8
        http://stackoverflow.com/questions/25928605/in-ios8-safari-readonly-inputs-are-handled-incorrectly

        as a workaround, if (readonly && iOS), the renderer will markup disabled as iOS respects that property for html5 markup

        Show
        Judy Guglielmin added a comment - This is an iOS bug (feature?) as when I put the following :- <h:form> <input type="date" readonly="readonly"/> <mobi:commandButton value="Submit" type="submit" styleClass="submit"/> </h:form> the same behavior as above is noted. see http://stackoverflow.com/questions/37903780/read-only-date-field-on-ios-browser and appears to have been around since iOS8 http://stackoverflow.com/questions/25928605/in-ios8-safari-readonly-inputs-are-handled-incorrectly as a workaround, if (readonly && iOS), the renderer will markup disabled as iOS respects that property for html5 markup
        Hide
        Judy Guglielmin added a comment -

        rev. 48974

        Show
        Judy Guglielmin added a comment - rev. 48974
        Hide
        Liana Munroe added a comment -

        Verified ICEmobile trunk r48975. Tomcat 8, ipad ios 9.3.2.

        Show
        Liana Munroe added a comment - Verified ICEmobile trunk r48975. Tomcat 8, ipad ios 9.3.2.

          People

          • Assignee:
            Judy Guglielmin
            Reporter:
            Liana Munroe
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: