Loading

Visualforce input tag date picker browser compatibility

Fecha de publicación: Jun 26, 2023
Descripción

If you are using <apex:input> VF tag of type date, you may notice that the date picker will not work in certain browsers.

Reason: 
apex:input supports newer HTML5 input types but not all browsers support the date type of the input element to provide date-picking UI. If it isn't supported then the browser will show a usual text input field instead of date-picker.

Click here for browser compatibility details.

 
Solución

An Alternate Solution to use Date Picker is to use <apex:inputField> instead of <apex:input>. But this only works with Standard /Custom Object Fields and does not work for Controller properties.
Número del artículo de conocimiento

000386422

 
Cargando
Salesforce Help | Article