mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-11-09 16:16:41 +08:00
fix(prop): update to mutable option
This commit is contained in:
@ -86,7 +86,7 @@ export class Input implements InputComponent {
|
||||
/**
|
||||
* @input {boolean} If true, the value will be cleared after focus upon edit. Defaults to `true` when `type` is `"password"`, `false` for all other types.
|
||||
*/
|
||||
@Prop({ state: true }) clearOnEdit: boolean;
|
||||
@Prop({ mutable: true }) clearOnEdit: boolean;
|
||||
|
||||
/**
|
||||
* @input {boolean} If true, the user cannot interact with this element. Defaults to `false`.
|
||||
@ -184,7 +184,7 @@ export class Input implements InputComponent {
|
||||
/**
|
||||
* @input {string} The text value of the input.
|
||||
*/
|
||||
@Prop({ state: true }) value: string;
|
||||
@Prop({ mutable: true }) value: string;
|
||||
|
||||
|
||||
/**
|
||||
|
||||
@ -100,7 +100,7 @@ export class Textarea implements TextareaComponent {
|
||||
/**
|
||||
* @input {boolean} If true, the value will be cleared after focus upon edit. Defaults to `true` when `type` is `"password"`, `false` for all other types.
|
||||
*/
|
||||
@Prop({ state: true }) clearOnEdit: boolean;
|
||||
@Prop({ mutable: true }) clearOnEdit: boolean;
|
||||
|
||||
/**
|
||||
* @input {boolean} If true, the user cannot interact with this element. Defaults to `false`.
|
||||
@ -168,7 +168,7 @@ export class Textarea implements TextareaComponent {
|
||||
/**
|
||||
* @input {string} The text value of the input.
|
||||
*/
|
||||
@Prop({ state: true }) value: string;
|
||||
@Prop({ mutable: true }) value: string;
|
||||
|
||||
/**
|
||||
* @hidden
|
||||
|
||||
Reference in New Issue
Block a user