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. (Last updated on: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Placeholder text location

Thread ID:

Created:

Updated:

Platform:

Replies:

148926 Nov 8,2019 01:43 AM UTC Nov 8,2019 06:14 AM UTC Vue 1
loading
Tags: NumericTextBox
Carlos Alarcon
Asked On November 8, 2019 01:43 AM UTC

Hi,

How can I change the location of the placeholder text in the NumericTextBox control?

I'd like to have it in the same area where the number is displayed until the user clicks  up/down or change the value manually..

thanks!

Sureshkumar P [Syncfusion]
Replied On November 8, 2019 06:14 AM UTC

Hi Carlos, 
 
Greetings from Syncfusion support. 
 
Yes, we can change our placeholder text location based on the entered value to the numerictextbox component using our inbuild floatLabelType property.  
 
Kindly refer the below code block. 
 
<ejs-numerictextbox placeholder="Select a Number" floatLabelType="Auto"></ejs-numerictextbox> 
 
 
We created a sample based on your requirement. please refer the sample here: https://www.syncfusion.com/downloads/support/forum/148926/ze/NumericTextBox-681736664  
 
To know more about our floatlabelType property, please refer the documentation link: https://ej2.syncfusion.com/vue/documentation/api/numerictextbox/#floatlabeltype  
 
Regards, 
Sureshkumar P 


CONFIRMATION

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