Commit efb69fc7 by Netfan Committed by GitHub

feat: add `form-is-required` class for required items. fixed: #5739 (#5759)

1 parent 711a179c
...@@ -290,6 +290,7 @@ onUnmounted(() => { ...@@ -290,6 +290,7 @@ onUnmounted(() => {
v-show="isShow" v-show="isShow"
:class="{ :class="{
'form-valid-error': isInValid, 'form-valid-error': isInValid,
'form-is-required': shouldRequired,
'flex-col': isVertical, 'flex-col': isVertical,
'flex-row items-center': !isVertical, 'flex-row items-center': !isVertical,
'pb-6': !compact, 'pb-6': !compact,
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!