chocolatey / chocolatey/choco-theme

Front end validation does not always show correct colors

Open
#303 0 comments 0 reactions 1 assignee Claimed by @st3phhays View on GitHub
0 - Backlog Bug PackageRoot
Dominant language
JavaScript
Stars
10
Forks
17
Avg merge
20h 33m
Merged PRs (30d)
4

Description

### Checklist

- [X] I have verified this is the correct repository for opening this issue.
- [X] I have verified no other issues exist related to my problem.
- [X] I have verified this is not an issue for a specific package.
- [X] I have verified this issue is not security related.

### What You Are Seeing?

Sometimes, when there is a validation error on a form, the form does not show the correct red colors. The form still looks "normal" and it is hard to tell where the error is.

![Screenshot_2023-02-01_at_11 43 19_AM](https://user-images.githubusercontent.com/42750725/218504843-11ff1972-977c-4956-857c-23e29ae881cb.png)

### What is Expected?

The error message should be red, and the error input field should be outlined in red.

### How Did You Get This To Happen?

1. Go to your account area on community.chocolatey.org
2. Try to change your password, but purposefully enter your "current password" incorrectly.
3. Submit the form, and notice an error comes back, but it is not red at all.

Also happens on these pages from a Chocolatey package page on CCR:

* Contact maintainers
* Contact site admins
* Report abuse

An example of **one that is working is on the Forgot Password page** of community.chocolatey.org.

### System Details

All browsers.

### Installed Packages

```bash
n/a
```

### Output Log

```bash
n/
```

### Additional Context

_No response_

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.