InputValidation interface
描述哪些值對訂用帳戶輸入有效
data |
取得或設定要驗證的資料類型。 |
is |
取得或設定這是必要欄位。 |
max |
取得或設定這個描述元的最大長度。 |
max |
取得或設定這個描述元的最小值。 |
min |
取得或設定這個描述元的最小長度。 |
min |
取得或設定這個描述元的最小值。 |
pattern | 取得或設定要驗證的模式。 |
pattern |
取得或設定模式不符的錯誤。 |
取得或設定這是必要欄位。
isRequired: boolean
屬性值
boolean
取得或設定這個描述元的最大長度。
maxLength: number
屬性值
number
取得或設定這個描述元的最小值。
maxValue: number
屬性值
number
取得或設定這個描述元的最小長度。
minLength: number
屬性值
number
取得或設定這個描述元的最小值。
minValue: number
屬性值
number
取得或設定要驗證的模式。
pattern: string
屬性值
string
取得或設定模式不符的錯誤。
patternMismatchErrorMessage: string
屬性值
string