prefer-form-controls-access #2242
RDUser-dev
started this conversation in
New Rule Proposals
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Given a form
myForm
with a formControlmyControl
you can access the control in two waysor
The second one has some advantages:
It would be nice if there was a rule to prefer accessing via controls instead of using the get of AbstractControl.
Beta Was this translation helpful? Give feedback.
All reactions