Skip to content

Commit

Permalink
Merge pull request #3994 from carlobeltrame/material-list-select-requ…
Browse files Browse the repository at this point in the history
…ired-star

Add red asterisk to required selects
  • Loading branch information
carlobeltrame authored Oct 21, 2023
2 parents cfaf279 + ad7980d commit dee5b3a
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions frontend/src/components/form/base/ESelect.vue
Original file line number Diff line number Diff line change
Expand Up @@ -41,3 +41,14 @@ export default {
},
}
</script>

<style scoped>
[required]:deep(label::after) {
content: '\a0*';
font-size: 12px;
color: #d32f2f;
}
[required]:deep(.v-input--is-label-active label::after) {
color: gray;
}
</style>

0 comments on commit dee5b3a

Please sign in to comment.