Description
Description
I am trying to use DatePicker, however the docs forget to mention the most important thing about DatePicker (actually, it is the same for other input/input-like components, but for others I was able to make it work) :
- how to get date out of the DatePicker
- how to set date programmatically in the DatePicker
I tried to use onChange and value, but they did not work so the components renders but I cannot use the set date in any way:
<DatePicker onChange={(event) => onActiveToChange(event.target.value)} value={activeTo} />
Versions
"fiori-fundamentals": "^1.4.9",
"fundamental-react": "^0.5.0"
edit: I checked the source code carefully, but I don't see there any option to set and get the date selected on the DatePicker.
DISCLAIMER:
After triaging an issue, the fundamental-react team will see if it can be reproduced or confirmed. If more information is needed, the fundamental-react team will contact the author. Any issues awaiting responses from the author for more than 7 days will be closed. The author can re-open the issue at a later time if they can present the requested information.