We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

TextBox

Hi,

How to bind value to the textbox? Is anything available for now?

Thanks

1 Reply

BC Berly Christopher Syncfusion Team June 3, 2019 08:30 AM UTC

Hi Dmitrik, 
  
Greetings from Syncfusion. 
  
You can bind the value to the TextBox by using bind-value as mentioned in the below code example. 
  
<p>TextBox Value is: @value</p>   
<EjsTextBox id='firstname' bind-value="@value" placeholder='First Name'></EjsTextBox> 
  
  
@functions { 
    public string value = "Syncfusion"; 
} 
  
We have prepared the sample based on your requirement and attached below. 
  
  
Regards, 
Berly B.C 


Loader.
Live Chat Icon For mobile
Up arrow icon