Hi sayali saitawdekar,
You can get the updated value of TextBox component using change event argument. Please find the below code block.
Note: Change event triggered when the value changed in textbox (After focus out the input)
<ejs-textbox ref="textboxObj" :change="changeValue" placeholder="First Name"></ejs-textbox> |
methods:{
changeValue:function(args){
console.log(args.value);
}
} |
Also, we can able to get the value of TextBox using component reference. Please refer the below code block.
<ejs-textbox ref="textboxObj" :change="changeValue" placeholder="First Name"></ejs-textbox> |
methods:{
changeValue:function(args){
console.log(this.$refs.textboxObj.ej2Instances.value);
}
} |
Please check the provided code block and get back to us, if you need any further assistance.
Regards,
Ashokkumar B.