feat: 移除不必要的验证可见性属性,简化表单组件
This commit is contained in:
@ -46,7 +46,6 @@ async function submit() {
|
|||||||
placeholder="请输入"
|
placeholder="请输入"
|
||||||
some="prop"
|
some="prop"
|
||||||
validation="required"
|
validation="required"
|
||||||
validation-visibility="live"
|
|
||||||
>
|
>
|
||||||
</FormKit>
|
</FormKit>
|
||||||
<FormKit
|
<FormKit
|
||||||
@ -64,9 +63,7 @@ async function submit() {
|
|||||||
<FormKit
|
<FormKit
|
||||||
type="text"
|
type="text"
|
||||||
label="默认text"
|
label="默认text"
|
||||||
value="default value"
|
|
||||||
validation="required"
|
validation="required"
|
||||||
validation-visibility="live"
|
|
||||||
>
|
>
|
||||||
</FormKit>
|
</FormKit>
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user