0
 <apex:input type="date" styleClass="input-text-center" value="{! data.offerDate }" 
                                        rendered="{! IF( AND( data.isField = true, data.isDateField = true ) , true, false ) }" />

The above code is displaying datepicker in chrome but not in IE. Could anyone please help me to resolve this issue.

1 Answer 1

0

This seems a known issue, some browsers do not show datepicker when using apex:input tag. You will need to find alternative for this.

Here is the link which says this

You can either use inputField if date is a standard/custom object property or try using jQuery datepicker.

6
  • When I use inputField its showing error like : Could not resolve the entity from <apex:inputField> value binding '{!data.offerDate}'. <apex:inputField> can only be used with SObjects, or objects that are Visualforce field component resolvable.
    – JURY
    Jun 19, 2018 at 10:46
  • And also jquery supporting for inputfield
    – JURY
    Jun 19, 2018 at 10:47
  • As I said, if its not a sObject property, u cannot use inputField. See jQuery datepicker example here Jun 19, 2018 at 11:37
  • Thank you Jain. I will post my finding once I Done with it
    – JURY
    Jun 20, 2018 at 4:01
  • <apex:input styleClass="input-text-center" value="{! data.offerDate }" size="10" id="demo" onfocus="DatePicker.pickDate(false, this , false); "/> this code is working but it is showing timestamp in the EDIT mode.
    – JURY
    Jun 21, 2018 at 4:27

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .