Remove data, add prop.

This commit is contained in:
Bryan Mauger 2022-11-07 08:31:44 -05:00
parent 191ff1797a
commit c8c2580be0

View file

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