Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
Element
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
CI / CD Analytics
Repository Analytics
Value Stream Analytics
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
林焕东
Element
Commits
4abeadb7
Commit
4abeadb7
authored
Mar 18, 2018
by
Ren Kun
Committed by
杨奕
Mar 18, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MessageBox: declare inputType in types (#10223)
inputType is added in source code, but not for typescript file
parent
3997df08
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
types/message-box.d.ts
types/message-box.d.ts
+4
-0
No files found.
types/message-box.d.ts
View file @
4abeadb7
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment