The code im using is
<div class="e-float-input">
@(Html.EJS().DateTimePicker("IncidentDate")
.Value(Model.IncidentDate)
.Render())
@Html.LabelFor(model => model.IncidentDate, new { @for = "IncidentDate", @class = "e-float-text" })
@Html.ValidationMessageFor(model => model.IncidentDate, "", new { @class = "text-muted text-danger small" })
</div>
On page load, when a value is set, the floating label is floating and then resets as if theres no value. After that it does not float at all.
The html code the code above generates is
<div class="col-12 col-lg-3">
<div class="e-float-input">
<span class="e-input-group e-control-wrapper e-datetime-wrapper" style="width: 100%;"><input id="IncidentDate" class="e-control e-datetimepicker e-input e-keyboard" name="IncidentDate" aria-live="assertive" aria-atomic="true" aria-haspopup="true" aria-activedescendant="null" aria-owns="IncidentDate_options" aria-expanded="false" role="combobox" autocomplete="off" aria-invalid="false"><span class="e-input-group-icon e-date-icon e-icons" aria-label="select"></span><span class="e-input-group-icon e-time-icon e-icons"></span></span>
<label class="e-float-text" for="IncidentDate">IncidentDate</label>
<span class="field-validation-valid text-muted text-danger small" data-valmsg-for="IncidentDate" data-valmsg-replace="true"></span>
</div>
</div>
Can you help me get floating label working
You can see an example here
http://jsplayground.syncfusion.com/r0p4mjvy