-
Couldn't load subscription status.
- Fork 156
Labels
🐛 bugAny issue that describes a bugAny issue that describes a bug📅 date-picker✅ status: resolvedApplies to issues that have pending PRs resolving them, or PRs that have already merged.Applies to issues that have pending PRs resolving them, or PRs that have already merged.
Description
Description
When wiring up (validationFailed) on IgxDatePicker, the handler appears to require an IDatePickerValidationFailedEventArgs type. However:
Importing the type from the package root fails because it is not exported:
// error: '"igniteui-angular"' has no exported member named 'IDatePickerValidationFailedEventArgs'. // Did you mean 'IgxTimePickerValidationFailedEventArgs'? Importing the type from an internal path (as found in older samples) forces a deep import:
import { IDatePickerValidationFailedEventArgs } from '@infragistics/igniteui-angular/lib/date-picker/date-picker.common'; which triggers an unrelated build error:
TS2307: Cannot find module '@infragistics/igniteui-angular/lib/dialog/dialog.component' or its corresponding type declarations. [plugin angular-compiler] src/app/button-enabled-dialog/button-enabled-dialog.token.ts:2:31 This suggests the event-args type for the date picker’s validationFailed is either not publicly exposed
- igniteui-angular version: latest
- browser: all
Steps to reproduce
- Add a date picker with (validationFailed):
- Implement the handler with the expected date-picker-specific args:
- Try to import the args from the package root:
- Observe the “not exported member” error.
- Try to import from the internal path:
- Observe the TS2307 module resolution error for .../lib/dialog/dialog.component.
Result
Errors. No public export for the date picker’s validationFailed event args.
Expected result
The validationFailed event should have a properly exported.
Attachments

Metadata
Metadata
Assignees
Labels
🐛 bugAny issue that describes a bugAny issue that describes a bug📅 date-picker✅ status: resolvedApplies to issues that have pending PRs resolving them, or PRs that have already merged.Applies to issues that have pending PRs resolving them, or PRs that have already merged.