Welcome to the JavaScript feedback portal. We’re happy you’re here! If you have feedback on how to improve the JavaScript, we’d love to hear it!>
Thanks for joining our community and helping improve Syncfusion products!
If we are enabling the float label type as “auto” and “always” then select hidden element is displayed inside the input element. This issue occurred if we disabled the clear icon by showClearButton as false. Kindly refer the below sample and details.
This issue occurred due to missing of below styles.
|
.e-ddl.e-float-input .e-ddl-hidden { border: 0; height: 0; visibility: hidden; width: 0; } |
|
var atcObj2 = new ej.dropdowns.AutoComplete({ //set the local data to dataSource property dataSource: window.ddCountryData, // map the appropriate columns to fields property fields: { value: 'Name' }, // set the placeholder to AutoComplete input element placeholder: 'e.g. Australia', floatLabelType: 'Auto', showClearButton: false }); atcObj2.appendTo('#country'); |