ui icon indicating copy to clipboard operation
ui copied to clipboard

docs(DatePicker): improve type detection

Open zguig52 opened this issue 8 months ago โ€ข 0 comments

๐Ÿ”— 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.

zguig52 avatar Jun 07 '24 14:06 zguig52