This repository was archived by the owner on Sep 5, 2024. It is now read-only.
This repository was archived by the owner on Sep 5, 2024. It is now read-only.
radio-group: add tighter integration with ng-messages and form validation #11573
Open
Description
Bug, enhancement request, or proposal: Enhancement Request
CodePen and steps to reproduce the issue:
Radio Required Demo which demonstrates the issue: Yes 🐔
Detailed Reproduction Steps:
Open up the codepen and you will see that ng-messages
does not function with md-radio-group
as it does with other components.
What is the expected behavior?
I expect ng-messages
to function like it does with md-input
, looking something like this
What is the current behavior?
Currently the required message shows up before the form is submitted and does not have the expected styling.
What is the use-case or motivation for changing an existing behavior?
I have a questionnaire form that is made entirely of md-radio-group
s and having some indication that the validation of the group has failed would be very useful.
Which versions of AngularJS, Material, OS, and browsers are affected?
- AngularJS: 1.7.5
- AngularJS Material: 1.1.11
- OS: all
- Browsers: all
Is there anything else we should know? Stack Traces, Screenshots, etc.
I would be willing to work on this enhancement if a green light is given. This would be very useful for my project 🐔