You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Interesting.. while I agree with the specific case mentioned in OP, I'm not sure what can be done.
If inputs kebab-cased become allowed, what will prevent something strange like @Input('my-input') myInput: string;?
Are any other cases besides the aria-* family? If not, we could create a "whitelist" (not sure where we could retrieve all the aria-* attributes) with them and don't report warnings.
Specifically, something like this should be allowed:
@Input('aria-label') ariaLabel: string;
In above, we can't have a variable called aria-label. TS code wouldn't compile, and JS engine would complain invalid left hand side assignment.
The text was updated successfully, but these errors were encountered: