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
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Material Design - Floating Labels

Thread ID:





150102 Dec 20,2019 09:41 AM UTC Dec 23,2019 09:11 AM UTC JavaScript - EJ 2 1
Tags: TextBox
Stephan Schrade
Asked On December 20, 2019 09:41 AM UTC

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.


Sureshkumar P [Syncfusion]
Replied On December 23, 2019 09:11 AM UTC

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 


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon