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

Is it possible (and how) to use validator with explicit EditContext? #211

Open
papaja opened this issue Jan 21, 2024 · 0 comments
Open

Is it possible (and how) to use validator with explicit EditContext? #211

papaja opened this issue Jan 21, 2024 · 0 comments
Labels
Question Question about this project Triage Issue needs to be triaged

Comments

@papaja
Copy link

papaja commented Jan 21, 2024

Is it possible to use manually created EditContext instead of cascading parameter in validator?

If I switch from <EditForm Model=... to <EditForm EditContext=... where EditContext is declared and instantiated with new EditContext(MyModel) validator behaves funky which is kind of expected since there is no more cascading parameter EditContext.

@papaja papaja added Question Question about this project Triage Issue needs to be triaged labels Jan 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Question Question about this project Triage Issue needs to be triaged
Projects
None yet
Development

No branches or pull requests

1 participant