Skip to content
This repository was archived by the owner on Jul 19, 2025. It is now read-only.
This repository was archived by the owner on Jul 19, 2025. It is now read-only.

autoOK bug on new version #116

@liitfr

Description

@liitfr

Hello !
I've updated material-ui-pickers just today.

  • if I set my DatePicker autoOk prop to false => it works, no issue
  • if I set my DatePicker autoOk prop to true => error at runtime :
material-ui-pickers.cjs.js:2204 Uncaught TypeError: _this.wrapper.togglePicker is not a function
    at DatePickerWrapper.PickerBase._this.togglePicker (material-ui-pickers.cjs.js:2204)
    at DatePickerWrapper.eval (material-ui-pickers.cjs.js:2217)
    at commitCallbacks (react-dom.development.js:6163)
    at commitLifeCycles (react-dom.development.js:8784)
    at commitAllLifeCycles (react-dom.development.js:9946)
    at HTMLUnknownElement.callCallback (react-dom.development.js:542)
    at Object.invokeGuardedCallbackDev (react-dom.development.js:581)
    at invokeGuardedCallback (react-dom.development.js:438)
    at commitRoot (react-dom.development.js:10050)
    at performWorkOnRoot (react-dom.development.js:11017)

let me know if you need more details !
Mathias

Metadata

Metadata

Assignees

Labels

bug 🐛Something isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions