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

Error summary: ability to place on a nested form #880

Open
dlockhart opened this issue Oct 1, 2020 · 0 comments
Open

Error summary: ability to place on a nested form #880

dlockhart opened this issue Oct 1, 2020 · 0 comments
Labels
enhancement New feature or request

Comments

@dlockhart
Copy link
Member

dlockhart commented Oct 1, 2020

In a complex application where form elements are spread out across multiple shadow boundaries, you still want to validate and show the error summary for the entire "page". This is possible today using nested <d2l-form>s, which is awesome. However, the error summary needs to be displayed with a form that wraps the entire page.

Ideally, we could choose which d2l-form hosts the error summary. That would allow us to handle cases like with the primary/secondary template where you have form elements in both panels but wish to display the summary in the primary panel.

Screen Shot 2020-10-01 at 11 02 42 AM

In the example above, it would be good to be able to show the errors from both panels, but currently only the primary panel errors can be shown.

@dlockhart dlockhart added the enhancement New feature or request label Oct 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant