I'm using the Calendar component like this:
Code: Select all
<Calendar className="inputfield w-full" value={myData as Date} onChange={(e) => myData = e.value as Date} />
I don't understand why, since on the examples page here:
https://primefaces.org/primereact/calendar/
the calendar popup DOES close when selecting a date.
Am I missing something? Is there some workaround I can use to manually close the popup?