fix: FormItem配置新增输入框字数展示及长度限制
parent
9c63ad8279
commit
5f2884010f
|
|
@ -1,10 +1,10 @@
|
||||||
import type { NamePath, RuleObject } from 'ant-design-vue/lib/form/interface'
|
|
||||||
import type { CSSProperties, VNode } from 'vue'
|
|
||||||
import type { RowProps } from 'ant-design-vue/lib/grid/Row'
|
|
||||||
import type { FormItem } from './formItem'
|
|
||||||
import type { ColEx, ComponentType } from './index'
|
|
||||||
import type { ButtonProps as AntdButtonProps } from '@/components/Button'
|
import type { ButtonProps as AntdButtonProps } from '@/components/Button'
|
||||||
import type { TableActionType } from '@/components/Table/src/types/table'
|
import type { TableActionType } from '@/components/Table/src/types/table'
|
||||||
|
import type { NamePath, RuleObject } from 'ant-design-vue/lib/form/interface'
|
||||||
|
import type { RowProps } from 'ant-design-vue/lib/grid/Row'
|
||||||
|
import type { CSSProperties, VNode } from 'vue'
|
||||||
|
import type { FormItem } from './formItem'
|
||||||
|
import type { ColEx, ComponentType } from './index'
|
||||||
|
|
||||||
export type FieldMapToTime = [string, [string, string], (string | [string, string])?][]
|
export type FieldMapToTime = [string, [string, string], (string | [string, string])?][]
|
||||||
|
|
||||||
|
|
@ -189,6 +189,12 @@ interface BaseFormSchema {
|
||||||
|
|
||||||
isAdvanced?: boolean
|
isAdvanced?: boolean
|
||||||
|
|
||||||
|
// Input/InputTextArea是否显示字数
|
||||||
|
showCount?: boolean
|
||||||
|
|
||||||
|
// Input/InputTextArea是否字限制长度
|
||||||
|
maxlength?: number
|
||||||
|
|
||||||
// Matching details components
|
// Matching details components
|
||||||
span?: number
|
span?: number
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue