fix(prop): update to mutable option

This commit is contained in:
Adam Bradley
2017-08-31 21:28:00 -05:00
parent 1f2651664a
commit 00c883194c
10 changed files with 28 additions and 28 deletions

View File

@ -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;
/**

View File

@ -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