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
|
||||
questionAlignment: String, // Left or center. Default is left
|
||||
cornerStyle: String, // Left or center. Default is left
|
||||
includeSearchIcon: Boolean,
|
||||
},
|
||||
setup(props) {
|
||||
const propsClone = Object.assign({}, props);
|
||||
|
|
@ -105,11 +106,6 @@ export default {
|
|||
errors,
|
||||
};
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
includeSearchIcon: false,
|
||||
};
|
||||
},
|
||||
computed: {
|
||||
isRoundedPill() {
|
||||
return this.cornerStyle === "rounded";
|
||||
|
|
|
|||
Loading…
Reference in a new issue