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

Bug: error message property prevents submission after correction #670

Open
ethanWallace opened this issue Oct 21, 2024 · 1 comment
Open
Assignees
Labels
bug Something isn't working development Development tasks help wanted Extra attention is needed

Comments

@ethanWallace
Copy link
Collaborator

From Freshdesk ticket 19577

I am trying to get error messages in gcds-input to work with Drupal. When a form is submitted, Drupal checks for validation errors and sets error messages when needed. I have those appearing using the error-message property.

The problem I am running into is that if the user corrects their input and clicks on the submit button, it will not submit. I presume this is because something in GCDS is preventing submission when there are error messages shown.

We need a way of bypassing this so that server-side validation can run.

The documentation mentions "custom validation" but does not say how it would need to be implemented.

Ping Support once resolved, so we can circle back with client!

@ethanWallace ethanWallace added bug Something isn't working development Development tasks help wanted Extra attention is needed labels Oct 21, 2024
@ethanWallace ethanWallace changed the title error message: prevents submission after correction Bug: error message property prevents submission after correction Oct 21, 2024
@ethanWallace ethanWallace self-assigned this Oct 22, 2024
@daine
Copy link
Collaborator

daine commented Nov 19, 2024

Still to be released: #668

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working development Development tasks help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants