There is no required attribute/field in autocomplete component, so i am unable to add required validation on autocomplete.
There is no required attribute in autocomplete component.
Providing a Plunker (or similar) is the best way to get the team to see your issue.
Plunker template: https://goo.gl/DlHd6U
The autocomplete component is supposed to be used with an , so add your validation code there.
@CDDelta's comment probably had html in it, so
The autocomplete doesn't concern itself with the underlying input's validators. Either use Validators.required on your form control or make the <input /> required.
I think what he wants is something like md-require-match that is present in Autocomplete's AngularJs Material.
Related to #3334?
Closing as duplicate of #3334
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._
Most helpful comment
I think what he wants is something like
md-require-matchthat is present in Autocomplete's AngularJs Material.Related to #3334?