The standard Skuid date picker using JQuery UI is not user friendly on mobile.
I’m currently building a mobile skuid page for IOS and simply want to deactivate the standard Skuid Date picker and use IOS’s built in picker by setting
I have created a custom field render on date but
- Cannot truly remove the JQuery date picker with “destroy”
- When I add type=“Date” to the input the IOS picker displays but the date never saves.
Attempt Custom field render:
/* Custom Field Render for Date field */
var field = arguments 0],
value = arguments 1];
skuid.ui.fieldRenderersefield.metadata.displaytype]field.mode;
var dateInput = field.element.find(‘input.hasDatepicker’);
dateInput.datepicker( “destroy” );
dateInput.removeClass(“hasDatepicker”).removeAttr(‘id’);
dateInput.attr(“type”, “Date”);
This is a crucial part of our App so any thoughts / idea’s would be greatly appreciated.