Mandatory fields with red border

Description

Giuseppelamatrice suggested on Mattermost to improve the UI by adding a red colour border on the mandatory fields. It is a practice used in many other applications and it improves the UX.

I would suggest to add it just when creating a new record on empty mandatory fields (similar to how the mandatory label styling works now). I attached an image for reference.

Environment

None

Activity

Show:
Heng Sin Low
March 8, 2020, 7:24 AM

Not a fan of the new look. Anyway, perhaps we should have a way to collect feedback from the community before implement an UI change that will effect every screen and every one ?

Carlos Ruiz
March 8, 2020, 2:24 PM
Diego Ruiz
March 9, 2020, 12:02 PM

Hi / ,

 

I completely agree with asking the community and letting them decide.

For me, the most important part of the ticket and would like it to push to the core, even if the visual effects don’t get there, is that the ticket removes the styling from the java class and moves it to the CSS files. In that way, everyone can decide in their own theme how to present those fields, there’s a lot of hardcoded styling that we should move out to CSS files.

 

Best regards,

Diego Ruiz

Carlos Ruiz
March 10, 2020, 11:59 AM

Not my preferred, neither Heng Sin's - but community voted:

At this moment:

  • both label and field red (39)

  • the current way (10)

  • showing red the field borders instead of the label (3)

Anyways, this can be changed in theme.

Regards,

Carlos Ruiz

Diego Ruiz
March 11, 2020, 4:11 PM

Hi ,

I was testing in the test server that this ticket also provides the visualization of mandatory fields on GridMode (which is a big plus), but I noticed that there is a minor bug, the mandatory style is applied for the advanced search fields as well (see the attached image).

I uploaded the patch to solve the issue.

Thanks,
Diego Ruiz

Assignee

Diego Ruiz

Reporter

Diego Ruiz

Labels

Tested By

None

Fix versions

Priority

Minor
Configure