Hi Cedric,
Greetings from Syncfusion support.
We would like to inform you that, we have implemented the floatLableType property for TextBox and DropDownList component which is used to achieve the requested requirement.
|
render() {
return (<div className='control-pane'>
<div className='control-section'>
<div className='col-lg-6'>
<div id="local">
<h4> DropDownList</h4>
<DropDownListComponent id="games" dataSource={this.sportsData} fields={this.localFields} placeholder="Select a game" popupHeight="220px" floatLabelType="Auto"/>
</div>
</div>
<div className='col-lg-6'>
<div id="remote">
<h4>TextBox</h4>
<TextBoxComponent id="textbox" placeholder="Enter your name" floatLabelType="Auto"/>
</div>
</div>
</div>
</div>);
}
} |
Please refer the below documentation to know more about this property.
Regards,
Berly B.C