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

Not all widgets support displaying diagnostics #4412

Open
pcdavid opened this issue Jan 14, 2025 · 0 comments
Open

Not all widgets support displaying diagnostics #4412

pcdavid opened this issue Jan 14, 2025 · 0 comments

Comments

@pcdavid
Copy link
Member

pcdavid commented Jan 14, 2025

All widgets in Forms can have one or more diagnostic { id kind message }.
They are all computed on the backend, and fetched by the front (sett commonFields in FormEventFragment.ts), but only some widgets actually display them.

At the time of this writing, the ones I see with explicit support are (helperText={widget.diagnostics[0]?.message} <FormHelperText>{widget.diagnostics[0]?.message}</FormHelperText>): checkbox, date-time, list, multi-select, radio, select, text-field and (maybe) reference.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants