feat: 为 PSelect 组件添加动态边框颜色样式
This commit is contained in:
@ -70,6 +70,10 @@ const SchemaComponent = defineComponent(
|
||||
return () => {
|
||||
return (
|
||||
<PrimevueSelect
|
||||
style={{
|
||||
'border-color':
|
||||
!formkitContext.state.invalid && valueSlot.value !== undefined ? 'var(--p-yellow-200)' : undefined,
|
||||
}}
|
||||
ref={primevueSelectInstance}
|
||||
labelId={formkitContext.id}
|
||||
fluid
|
||||
|
Reference in New Issue
Block a user