To treat the HijriDatePicker just like any normal <input> field, I added the onFocusand onChangeevents.
Also added the ability for the component to be:
Fully controlled by setting the selectedDate attribute.
or Uncontrolled by not setting the selectedDate attribute.
Resolves: #7
PS: I updated the demo but didn't update the README file, if you want me to, please let me know.
To treat the HijriDatePicker just like any normal
<input>
field, I added theonFocus
andonChange
events. Also added the ability for the component to be:selectedDate
attribute.selectedDate
attribute.Resolves: #7
PS: I updated the demo but didn't update the README file, if you want me to, please let me know.