Replies: 1 comment
-
Some fields unfortunately do not support behavior. I think this is a great start for PR |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have simple picture field
If validation fails (picture is required but I didn't upload any) visually I can not see where the error is
![Снимок экрана от 2023-06-16 20-47-40](https://private-user-images.githubusercontent.com/86893348/246491938-7c78b392-0429-4708-8ad8-26c61989c576.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzg5NTkwMjcsIm5iZiI6MTczODk1ODcyNywicGF0aCI6Ii84Njg5MzM0OC8yNDY0OTE5MzgtN2M3OGIzOTItMDQyOS00NzA4LThhZDgtMjZjNjE5ODljNTc2LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMDclMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjA3VDIwMDUyN1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTE1OGQ4MzE5MDAzZWU5YTM1Y2ZiNWFmMTIzMzU1YWE2OGVlMDliYzI1M2QzOGRlZTFkZGU4MTdhYzBhMWM0NjEmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.EGHsvWoQFMFnGdJLcK5sM0qHfyBbL5xBkdX_wKpWTps)
If I add some CSS like
Now I can see field is invalid
Same for some other fields
Although I didn't check properly every field for every possible validation rule (only
required
)CSS
:has
is not fully supported yet although it is better have at least some visual feedback than none. However it kinda depends on Bootstrap validation CSS (.was-validated
class, error color) so I'm not sure about this specific implementationBeta Was this translation helpful? Give feedback.
All reactions