Topic: MDBDatePicker Gives Warnings
Expected behavior When the component is used, it should not produce multiple warnings in the console. Even the simple implementation provided in the documentation produces warnings in my implementation within the console.
Actual behavior Warning: Failed prop type: Invalid prop TextFieldComponent
supplied to DateTextField
.
in DateTextField (created by Context.Consumer)
in WithUtils(DateTextField) (created by ModalWrapper)
in ModalWrapper (created by BasePicker)
in BasePicker (created by Context.Consumer)
in WithUtils(BasePicker) (created by DatePickerModal)
in DatePickerModal (created by ForwardRef)
in ForwardRef (created by r)
in MuiPickersUtilsProvider (created by r)
in MuiThemeProviderOld (created by r)
in div (created by r)
in r (at MousikiDatePicker.js:82)
in div (at MousikiDatePicker.js:81)
in MousikiDatePicker (created by ConnectFunction)
in ConnectFunction (at MousikiInfo.js:69)
in Unknown (at AvailabilityDetailForm.js:517)
in form (at AvailabilityDetailForm.js:512)
in div (created by Xe)
in Xe (at AvailabilityDetailForm.js:499)
in div (created by kn)
in kn (at AvailabilityDetailForm.js:498)
in div (created by Ge)
in Ge (at AvailabilityDetailForm.js:493)
in Formik (at AvailabilityDetailForm.js:432)
in AvailabilityDetailForm (created by ConnectFunction)
in ConnectFunction (at RouteGaurdForFirstLogin.js:46)
in Route (at RouteGaurdForFirstLogin.js:13)
in RouteGaurdForFirstLogin (created by ConnectFunction)
in ConnectFunction (at Routes.js:255)
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Open
- User: Pro
- Premium support: No
- Technology: MDB React
- MDB Version: 4.27.0
- Device: Desktop
- Browser: Chrome
- OS: Windows 10
- Provided sample code: No
- Provided link: No
Piotr Glejzer staff commented 4 years ago
which Datatable are you using? V5?