I am using Webshim to standardise datepickers cross-browser. That's great, but unfortunately it also replaces other form elements, which I am not interested in.
Is there a way I can limit webshim/forms-ext to only replace the UI of the date picker - and leave all other input elements as is?
webshim.setOptions( 'forms-ext', {
loadStyles: false,
replaceUI: 'auto',
types: 'date'
});
Yes, your code looks right but I seem to remember always having issues with using
setOptionsthat way. Here is how I have it set up in my application.