Full text not visible after selection in input field
<SfDropDownList TValue="string" TItem="Formulary" Placeholder="Select a Formulary" AllowFiltering="true" DataSource="formularies" @bind-Value="model.Formulary" Enabled="!isLoadingFormulary" PopupWidth="auto">
<DropDownListFieldSettings Text="FormularyName" Value="FormularyID" />
</SfDropDownList>
how to overide the style so if selected item is large then let it do word wrap
Thanks
Hi jose KJ,
Greetings from Syncfusion support!
Thank you for reaching out to us regarding the issue with full text visibility after selection in the SfDropDownList.
To address this, we recommend using tooltip support to display the entire text when the selected item is too large to fit within the input field. Below is a sample implementation that demonstrates how to achieve this:
@using Syncfusion.Blazor.DropDowns; |
In this example, a tooltip will appear when hovering over the selected item in the dropdown, showing the full text. This approach ensures that long text is visible without requiring any style overrides or text wrapping in the input field.
For more detailed information, please refer to the documentation here.
Let us know if you need any further assistance!
- 1 Reply
- 2 Participants
-
JK jose KJ
- Aug 14, 2024 09:44 AM UTC
- Aug 20, 2024 02:39 PM UTC