Skip to content

Conversation

ahmedsemih
Copy link
Contributor

Fixes #8338

This PR resolves a type issue in the DatePickerPreset interface.

The value property was incorrectly typed for the 'multiple' selection mode. I've updated the conditional type to ensure that when Type is 'multiple', the value is correctly defined as DateStringValue[]. This fixes the type mismatch and ensures proper type safety.

@rtivital rtivital merged commit 80f0a66 into mantinedev:master Oct 8, 2025
1 check passed
@rtivital
Copy link
Member

rtivital commented Oct 8, 2025

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

DatePickerInput on type multiple accepts the the wrong type

2 participants