-
Notifications
You must be signed in to change notification settings - Fork 1
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
PC-505: Add new GBIS feedback questions #239
Conversation
b8dee82
to
b861425
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A few things to look at but mostly looks good!
Regarding the error message
I'd say to look at the component style guidelines, and actually use an error summary component for this |
So I've used the error summary class, but this way of validating a form doesn't fit in with the usual validation pattern on the design system as we're not validating any one specific field in particular. Also, adding a separate error message alongside each field might require more extensive changes since we get the data in a blob. Maybe this needs a separate conversation with the client! @AyaPK @CheshireSwift |
b861425
to
d63cc3e
Compare
I'd posit you could just do something like:
which would look much nicer, fitting the style guidelines and using the component as intended |
d63cc3e
to
86ffa09
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Couple of things, but mostly good.
86ffa09
to
a7edf84
Compare
a7edf84
to
8e947fb
Compare
New GBIS feedback form, pending Welsh translations from DESNZ