Details
-
Type: Bug
-
Status: Resolved
-
Priority: 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.
When user native = true and read only = true the date and time can still be changed and submit.
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