tiny-vue
tiny-vue copied to clipboard
[fix(time-spinner): [time-spinner] fix startDate & endDate prop type issue when isRan…
…ge is true in time components (#3295)
PR
PR Checklist
Please check if your PR fulfills the following requirements:
- [x] The commit message follows our Commit Message Guidelines
- [ ] Tests for the changes have been added (for bug fixes / features)
- [ ] Docs have been added / updated (for bug fixes / features)
PR Type
What kind of change does this PR introduce?
- [x] Bugfix
- [ ] Feature
- [ ] Code style update (formatting, local variables)
- [ ] Refactoring (no functional changes, no api changes)
- [ ] Build related changes
- [ ] CI related changes
- [ ] Documentation content changes
- [x] Other... Please describe:
What is the current behavior?
Issue Number: N/A
What is the new behavior?
Does this PR introduce a breaking change?
- [ ] Yes
- [x] No
Other information
Summary by CodeRabbit
- New Features
- The TimeSpinner component now accepts a wider range of input types (Date, String, or Number) for start and end values.
- Default values have been updated to an empty state, enhancing flexibility in configuring time inputs.