ui
ui copied to clipboard
docs(DatePicker): improve type detection
๐ Linked issue
โ Type of change
- [x] ๐ Documentation (updates to the documentation or readme)
- [ ] ๐ Bug fix (a non-breaking change that fixes an issue)
- [ ] ๐ Enhancement (improving an existing functionality)
- [ ] โจ New feature (a non-breaking change that adds functionality)
- [ ] ๐งน Chore (updates to the build process or auxiliary tools and libraries)
- [ ] โ ๏ธ Breaking change (fix or feature that would cause existing functionality to change)
๐ Description
Fix date input type detection issue. typeof Date is also an object type. This is used to allow switching automatically between single date and date range selection. https://masteringjs.io/tutorials/fundamentals/typeof-date
๐ Checklist
- [ ] I have linked an issue or discussion.
- [ ] I have updated the documentation accordingly.