Cannot read property '$submitted' of undefined
TypeError: Cannot read property '$submitted' of undefined at b (angular-material.min.js:10) at Object.g (angular-material.min.js:10) at m.$digest (angular.js:16538) at m.$apply (angular.js:16810) at angular.js:18632 at e (angular.js:5793) at angular.js:6070
Is this a bug?
AngularJS v1.5.0-rc.1
Angular Material 1.0.3
I've got the same on AngularJS 1.3.15 / Angular Material 1.0.1
For me it seems to be caused by the required validator on input
I'v got the same issue. Also for me seems the required validator, but only if there are at least two fields on the form. With Material 1.0.2 I don't see the error.
This codepen show my case: when you close the bottomSheet the error is shown in console
http://codepen.io/chiccomask/pen/XXqWmm
Related to this? https://github.com/angular/material/issues/6807
If so this may have been fixed recently in https://github.com/angular/material/commit/34e027815055123caf572ca76734d2c0e8bf8275
Upgrading to latest master (1.0.3-master-0918596) did the trick
Looks exaclty the same issue. Thanks!
Yeah, i updated angular material to master and seems it did the trick.
So if this issue was just a problem of 1.0.3, you should close that issue. :)