(change) event does not work on select and input elements but does on checkbox
Bug, feature request, or proposal:
Bug
What is the expected behavior?
(change) event should work on the select and input type="text" elements.
What is the current behavior?
**After updating the project from Material v5.2.4 to v6.0.0 and Angular v5.1.2 to v6.0.0, the (change) event doesn't work on select and input type="text" elements while it does work alright on checkbox element.
changing the event from (change) to (ngModelChange) is working perfectly fine for any of the above specified elements.**
What are the steps to reproduce?
StackBlitz HERE
What is the use-case or motivation for changing an existing behavior?
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
_ _ ____ _ ___
/ \ _ __ __ _ _ _| | __ _ _ __ / ___| | |_ _|
/ △ \ | '_ \ / | | | | |/ _ | '__| | | | | | |
/ ___ | | | | (| | || | | (| | | | || | | |
// __| ||_, |_,||_,|| _|||
|___/
Angular CLI: 6.0.0 Node: 8.11.1 OS: win32 x64 Angular: 6.0.0 ... animations, cdk, cli, common, compiler, compiler-cli, core ... forms, http, language-service, material, platform-browser ... platform-browser-dynamic, router
Package Version
@angular-devkit/architect 0.6.0 @angular-devkit/build-angular 0.6.0 @angular-devkit/build-optimizer 0.6.0 @angular-devkit/core 0.6.0 @angular-devkit/schematics 0.6.0 @ngtools/webpack 6.0.0 @schematics/angular 0.6.0 @schematics/update 0.6.0 rxjs 6.1.0 typescript 2.7.2 webpack 4.6.0
Is there anything else we should know?
MatSelect's @Output() change was deprecated in 5.2.4. Now you have
@Output()
selectionChange: EventEmitter<MatSelectChange>
Input's @Output() change is working normaly in here: https://stackblitz.com/edit/angular-xpnsrr
This issue has been automatically locked due to inactivity. Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
This action has been performed automatically by a bot.