Commit 4abeadb7 authored by Ren Kun's avatar Ren Kun Committed by 杨奕

MessageBox: declare inputType in types (#10223)

inputType is added in source code, but not for typescript file
parent 3997df08
......@@ -22,6 +22,7 @@ export declare class ElMessageBoxComponent extends Vue {
showClose: boolean
inputValue: string
inputPlaceholder: string
inputType: string
inputPattern: RegExp
inputValidator: MessageBoxInputValidator
inputErrorMessage: string
......@@ -110,6 +111,9 @@ export interface ElMessageBoxOptions {
/** Regexp for the input */
inputPattern?: RegExp
/** Input Type: text, textArea, password or number */
inputType?: string
/** Validation function for the input. Should returns a boolean or string. If a string is returned, it will be assigned to inputErrorMessage */
inputValidator?: MessageBoxInputValidator
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment