Loading

Visualforce input tag date picker browser compatibility

公開日: Jun 26, 2023
説明

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.

 
解決策

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.
ナレッジ記事番号

000386422

 
読み込み中
Salesforce Help | Article