Commit 993e9a12 authored by hetech's avatar hetech Committed by GitHub

Form: required FormItem displays asterisk when label is auto (#15144)

parent 01a4118c
......@@ -132,7 +132,8 @@
@include when(required) {
@include pseudo('not(.is-no-asterisk)') {
& > .el-form-item__label:before {
& > .el-form-item__label:before,
& .el-form-item__label-wrap > .el-form-item__label:before {
content: '*';
color: $--color-danger;
margin-right: 4px;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment