Skip to content
This repository has been archived by the owner on Jun 20, 2024. It is now read-only.

Invalid input styling #16

Closed
brynzovskii opened this issue Mar 11, 2022 · 1 comment · Fixed by #20
Closed

Invalid input styling #16

brynzovskii opened this issue Mar 11, 2022 · 1 comment · Fixed by #20
Labels
enhancement New feature or request

Comments

@brynzovskii
Copy link

brynzovskii commented Mar 11, 2022

At the moment the span with a error is added under the invalid input but no indication to the input itself. Let's say I need red outline instead of showing text under. The original form adds a wpcf7-not-valid class to the input and area-invalid set to true that can be used for styling as well. The package does not trigger the area-invalid attribute be set to true once the validation is required.
image

1.0.0-canary version is used.

Any idea how to handle that? Thanks in advance.

@kasperaamodt kasperaamodt added the enhancement New feature or request label Sep 14, 2022
@kasperaamodt
Copy link
Member

I will check this out.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants