Actual Behavior:
Forms with mdSelect and the mdSelect has multiple option is set to true, angular sees the form as dirty.multiple flag should not effect initial form stateCodePen (or steps to reproduce the issue): *
http://codepen.io/bbyrne/pen/Kgboyv?editors=1010Details: When page is first loaded, the state of the form is automatically set to dirty. If the select is loaded with multiple false, the state is pristine.Angular Versions: *
Angular Version: <= 1.5.xAngular Material Version: 1.1.1Additional Information:
Browser Type: chromeBrowser Version: 53.xOS: macOS SierraStack Traces: n/aThis issue is closed as it falls in the 'deprecated' category. We deprecate issues for one or more of the following reasons:
Pull Requests are welcomed to resolve this issue. But note that not all community PRs will be merged into master. Pull Requests with large changes or large scope impacts will probably be rejected [due to stability risks to existing users].
How are the use cases measured? I hate to take the time to report a bug just to have it immediately deemed as too small to address.
For others that might run into this issue:
One workaround is to wait for mdSelect's multiple directive to load and then manually reset the form's state to pristine.
@BAByrne, I ran into the same issue. Can you post the workaround snippet?
Most helpful comment
For others that might run into this issue:
One workaround is to wait for mdSelect's multiple directive to load and then manually reset the form's state to pristine.