Fixed #5664 - [v4 beta1: InputMask] Placeholder attribute does not work
parent
a25418eef3
commit
9e428a1a15
|
@ -15,6 +15,10 @@ export default {
|
|||
type: String,
|
||||
default: null
|
||||
},
|
||||
placeholder: {
|
||||
type: String,
|
||||
default: null
|
||||
},
|
||||
autoClear: {
|
||||
type: Boolean,
|
||||
default: true
|
||||
|
|
|
@ -111,6 +111,10 @@ export interface InputMaskProps {
|
|||
* Mask pattern.
|
||||
*/
|
||||
mask?: string | undefined;
|
||||
/**
|
||||
* Placeholder text for the input.
|
||||
*/
|
||||
placeholder?: string | undefined;
|
||||
/**
|
||||
* Clears the incomplete value on blur.
|
||||
* @defaultValue true
|
||||
|
|
|
@ -6,6 +6,7 @@
|
|||
:disabled="disabled"
|
||||
:invalid="invalid"
|
||||
:variant="variant"
|
||||
:placeholder="placeholder"
|
||||
:unstyled="unstyled"
|
||||
@input="onInput"
|
||||
@focus="onFocus"
|
||||
|
|
Loading…
Reference in New Issue