You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The datetimepicker throws an error after updating to 19.0.1, but only when I programmatically set its value with writeValue. This did not throw when I was on version 18.4.0.
ERROR TypeError: Cannot read properties of undefined (reading 'type')
at _MtxDatetimepickerInput.getDisplayFormat (mtxDatetimepicker.mjs:4490:34)
at _MtxDatetimepickerInput._formatValue (mtxDatetimepicker.mjs:4529:89)
at set value (mtxDatetimepicker.mjs:4370:10)
at _MtxDatetimepickerInput.writeValue (mtxDatetimepicker.mjs:4443:10)
at Object.next (form-field.ts:46:21)
at ConsumerObserver2.next (Subscriber.js:90:25)
at Subscriber2._next (Subscriber.js:59:22)
at Subscriber2.next (Subscriber.js:32:12)
at Subject.js:41:22
at errorContext (errorContext.js:23:5)
The datetimepicker throws an error after updating to
19.0.1
, but only when I programmatically set its value withwriteValue
. This did not throw when I was on version18.4.0
.I made a minimal repro here: https://stackblitz.com/edit/stackblitz-starters-5yuruzkt?file=src%2Fmain.ts (check the console for the error).
The text was updated successfully, but these errors were encountered: