Remove data, add prop.
This commit is contained in:
parent
191ff1797a
commit
c8c2580be0
1 changed files with 1 additions and 5 deletions
|
|
@ -69,6 +69,7 @@ export default {
|
||||||
maxLength: String, // Left or center. Default is left
|
maxLength: String, // Left or center. Default is left
|
||||||
questionAlignment: String, // Left or center. Default is left
|
questionAlignment: String, // Left or center. Default is left
|
||||||
cornerStyle: String, // Left or center. Default is left
|
cornerStyle: String, // Left or center. Default is left
|
||||||
|
includeSearchIcon: Boolean,
|
||||||
},
|
},
|
||||||
setup(props) {
|
setup(props) {
|
||||||
const propsClone = Object.assign({}, props);
|
const propsClone = Object.assign({}, props);
|
||||||
|
|
@ -105,11 +106,6 @@ export default {
|
||||||
errors,
|
errors,
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
data() {
|
|
||||||
return {
|
|
||||||
includeSearchIcon: false,
|
|
||||||
};
|
|
||||||
},
|
|
||||||
computed: {
|
computed: {
|
||||||
isRoundedPill() {
|
isRoundedPill() {
|
||||||
return this.cornerStyle === "rounded";
|
return this.cornerStyle === "rounded";
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue