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

Improve Error Message For Invalid Triggers #4883

Open
Alek99 opened this issue Feb 28, 2025 · 1 comment
Open

Improve Error Message For Invalid Triggers #4883

Alek99 opened this issue Feb 28, 2025 · 1 comment
Labels
enhancement Anything you want improved error message Improve error message

Comments

@Alek99
Copy link
Member

Alek99 commented Feb 28, 2025

ValueError: The Div does not take in an `on_key_down` event trigger. If Div is a third party component make sure to add `on_key_down` to the component's event triggers. visit https://reflex.dev/docs/wrapping-react/guide/#event-triggers for more info.

It would be nice to show the valid triggers for the specific component erroring in the error message

@Alek99 Alek99 added enhancement Anything you want improved error message Improve error message labels Feb 28, 2025
Copy link

linear bot commented Feb 28, 2025

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Anything you want improved error message Improve error message
Projects
None yet
Development

No branches or pull requests

1 participant