daniel-nagy / md-data-table

Material Design Data Table for Angular Material
MIT License
1.9k stars 520 forks source link

Cannot use row selection in form validation #550

Open jmwilkinson opened 7 years ago

jmwilkinson commented 7 years ago

It does not seem as if the table has the standard user input fields ($pristine, $valid, $invalid, etc). This means it doesn't connect to forms very well....

For instance, if I want to make row selection required, I should be able to add the "required" directive to the md-table-container element, and the form should only validate when at least one item is selected.