ColorField (sometimes?) returns 8-digit alpha color hex code #1082

Closed
opened 2024-08-18 11:36:52 +02:00 by yuha · 7 comments
Member

...which causes problems when creating ExtraMarks, for example (since the backend wants "regular" 6-digit codes)

permcu: Also produces errors when creating or updating absence-reasons.

Relevant vuetify issue for hiding the transparancy-select: https://github.com/vuetifyjs/vuetify/issues/9590
Seems better with vuetify 3.0

...which causes problems when creating ExtraMarks, for example (since the backend wants "regular" 6-digit codes) permcu: Also produces errors when creating or updating absence-reasons. Relevant vuetify issue for hiding the transparancy-select: https://github.com/vuetifyjs/vuetify/issues/9590 Seems better with vuetify 3.0
Author
Member

assigned to @leuckeju

assigned to @leuckeju
Member

in a lot of cases we actually support transparency, therefore the colorfield needs to do it as well. We have, I belive, two option:

  1. always require non-transparent colors (would also simplify things like contrast checking etc.)
  2. add a prop to the colorfield to allow or disallow the use of transparency
in a lot of cases we actually support transparency, therefore the colorfield needs to do it as well. We have, I belive, two option: 1. always require non-transparent colors (would also simplify things like contrast checking etc.) 2. add a prop to the colorfield to allow or disallow the use of transparency
Member
created branch [`1082-colorfield-sometimes-returns-8-digit-alpha-color-hex-code`](/AlekSIS/official/AlekSIS-Core/-/compare/master...1082-colorfield-sometimes-returns-8-digit-alpha-color-hex-code) to address this issue
Member

mentioned in merge request !3259

mentioned in merge request !3259
permcu commented 2024-11-12 17:17:36 +01:00 (Migrated from edugit.org)

changed the description

changed the description
permcu commented 2024-11-12 17:20:55 +01:00 (Migrated from edugit.org)

changed the description

changed the description
permcu commented 2025-05-16 18:17:47 +02:00 (Migrated from edugit.org)

This should have higher priority. I just stumbled over it again while creating an absencereason.

This should have higher priority. I just stumbled over it again while creating an absencereason.
Sign in to join this conversation.
No milestone
No project
No assignees
3 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
aleksis/AlekSIS-Core#1082
No description provided.