Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue a warning if known attributes are on the wrong component #32

Open
lourot opened this issue Aug 24, 2023 · 2 comments
Open

Issue a warning if known attributes are on the wrong component #32

lourot opened this issue Aug 24, 2023 · 2 comments
Labels
good first issue Good for newcomers

Comments

@lourot
Copy link
Member

lourot commented Aug 24, 2023

For example, if the user writes

<ImageDisplayControl data-disabled="all">
  <Image src="..." />
</ImageDisplayControl>

instead of

<ImageDisplayControl>
  <Image src="..." data-disabled="all" />
</ImageDisplayControl>

See:

@lourot lourot added the good first issue Good for newcomers label Aug 24, 2023
@AbhiR-03
Copy link

Are you asking to open the issue on the above problem mentioned?

@lourot
Copy link
Member Author

lourot commented Aug 24, 2023

Hi @AbhiR-03, yes I was thinking of a console warning like this one. Let me know if you want to give a try at solving this issue. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants