How to make button in mat-dialog work on ENTER also?

后端 未结 0 1456
慢半拍i
慢半拍i 2021-01-18 23:55

I have a mat-dialog-box where on click event it closes the dialog but I want it to work on ENTER press also. Is there any way to do so?

I have tried usin

相关标签:
回答
  • 消灭零回复
提交回复
热议问题