fix: show red asterisk sign if field is reqd
This commit is contained in:
parent
8710d64c86
commit
ad59519f93
1 changed files with 6 additions and 1 deletions
|
|
@ -48,7 +48,7 @@ function move_fields_to_column() {
|
|||
@mouseout.stop="hovered = false"
|
||||
>
|
||||
<div class="field-controls">
|
||||
<div>
|
||||
<div :class="{ 'reqd': field.df.reqd }">
|
||||
<input
|
||||
v-if="editing"
|
||||
ref="label_input"
|
||||
|
|
@ -133,6 +133,11 @@ function move_fields_to_column() {
|
|||
justify-content: space-between;
|
||||
align-items: center;
|
||||
|
||||
.reqd::after {
|
||||
content: " *";
|
||||
color: var(--red-400);
|
||||
}
|
||||
|
||||
.label-input {
|
||||
background-color: transparent;
|
||||
border: none;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue