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

Material Design - Floating Labels

Hi support,
in your documentation you mention that there is a new way to generate a floating label with javascript.


Does the "old" way with CSS still work?
If not, that would mean that we have to change all the forms :-(

I'm asking because I have an issue with the floating label at input fields.
The label is always placed outside the input field (like there is already a value typed in).
The line below the input field is animated normally.
I'm using the css-way for the input fields.


1 Reply

SP Sureshkumar P Syncfusion Team December 23, 2019 04:11 AM

Hi Stephan, 
Greetings from Syncfusion support. 
We have validated your requirement. we would like to say the CSS way of rendering textbox with floatinglabel is working properly as expected. Kindly refer the below sample. 
Sample with float label textbox using CSS: https://stackblitz.com/edit/yxd26f-pexyhk?file=index.html  
If still you have facing same issue, please share below details. 
  1. Share your current Syncfusion version.
  2. If possible, please reproduce your issue in the attached sample and share with replication procedure.
These details will help us to provide exact solution at earliest. 
Sureshkumar P 

Live Chat Icon For mobile
Up arrow icon