- Home
- Forum
- ASP.NET Core - EJ 2
- DropDownList Floating Label
DropDownList Floating Label
Hi,
I'm trying to get a DropDownList with a floating label like the normal inputs have.
I found floatLabelType attribute on the ejs-dropdownlist tag helper, but I don't know what to do with it.
Can someone help me?
Thanks
SIGN IN To post a reply.
5 Replies
KR
Keerthana Rajendran
Syncfusion Team
March 20, 2018 09:58 AM UTC
Hi Pedro,
Thanks for contacting Syncfusion Support.
You can add placeholder for DropDownList using “placeholder” property . “floatLabelType” specifies, whether to show the placeholder on above the input element and the default value is “Never” Please refer to the below document for more details.
Please refer to the below code to use floatLabelType in Asp.Net Core.
|
<ejs-dropdownlist id="games" dataSource="@ViewBag.data" placeholder="Select a game" index="2" popupHeight="220px"change="valueChange" floatLabelType= “FloatLabelType.Always”>
<e-dropdownlist-fields text="Game" value="Id"></e-dropdownlist-fields>
</ejs-dropdownlist> |
Regards,
Keerthana.
PF
Pedro Faria
March 23, 2018 09:55 AM UTC
Hi, I tried to use floatLabelType= “FloatLabelType.Always” but it didn't work, the tag helper is expecting an object, not a string.
Can you send me an working example?
Thanks
KR
Keerthana Rajendran
Syncfusion Team
March 27, 2018 11:03 AM UTC
Hi Pedro,
Sorry for the inconvenience.
We were able to reproduce the issue in our end and logged defect report for the same. This fix will be included in our patch release on April 10, 2018
Regards,
Keerthana.
Hi Pedro,Sorry for the inconvenience.We were able to reproduce the issue in our end and logged defect report for the same. This fix will be included in our patch release on April 10, 2018Regards,Keerthana.
I have the same problem , As of May 17th and I am on service pack 16.1.0.37, dated Apr. 24, 2018. DropDownList.FloatLabelType is still not recognized as a type.
Thanks,
Scott
KR
Keerthana Rajendran
Syncfusion Team
May 18, 2018 12:10 PM UTC
Hi Pedro,
We deeply regret for the inconvenience.
Due to complexity , this fix has not been included in our 16.1.37 release. We will include this in our upcoming Volume 2, 2018 release which will be rolled out by the end of this month(May).
Regards,
Keerthana.
SIGN IN To post a reply.
- 5 Replies
- 3 Participants
-
PF Pedro Faria
- Mar 19, 2018 01:04 PM UTC
- May 18, 2018 12:10 PM UTC