
this is my textbox component
<template>
<div>
<ejs-textbox
:floatLabelType='floatLabelType'
:placeholder='placeholder'
:required='required'
v-model='value'
:readonly='readonly'
:multiline='multiline'
:showClearButton='showClearButton'
:type='type'
></ejs-textbox>
</div>
</template>
<script>
import Vue from "vue";
import {
TextBoxPlugin,
} from "@syncfusion/ej2-vue-inputs";
Vue.use(TextBoxPlugin);
export default {
name:"EvoTextField",
props:{
placeholder:{
type:String,
default:''
},
value:{
type: String,
default:''
},
readonly:{
type: Boolean,
default:false
},
required:{
type: Boolean,
default:false
},
multiline:{
type: Boolean,
default:false
},
type:{
type: String,
default:"text"
}
},
data(){
return {
floatLabelType:"Auto",
showClearButton:false,
}
},
methods:{
}
};
</script>