Header missing for Dropdownlists in editmode.dialog box

2022-04-13_19-10-44.png When dialog box is displayed no head text is shown for SFdropdownlists. It is displayed on the datagrid grid.

2022-04-13_19-12-29.png

Example of one gridcolumn 

<GridColumn HeaderText="STATUS" Field="@nameof(CalibrationTask.status)"

          Width="150" DefaultValue="@("Not Started")" EditType="EditType.DropDownEdit" ><EditTemplate>

                <SfDropDownList ID="StatusName" TItem="Status" TValue="string" @bind-Value="@((context as CalibrationTask).status)" DataSource="@Statuses">

                    <DropDownListFieldSettings Value="StatusName" Text="StatusName" ></DropDownListFieldSettings>

                </SfDropDownList>

            </EditTemplate></GridColumn>


4 Replies

DR Deepak Ramakrishnan Syncfusion Team April 15, 2022 04:42 PM UTC

Hi Brendan,


We are currently validating your requirement , We will update the details within two business days (19th, April 2022).



Thanks,

Deepak R.



MM Mohanraj Mathaiyan Syncfusion Team April 20, 2022 10:55 AM UTC

Hi Brendan,


We can enable label in dropdown list by using Placeholder and FloatLabelType  property. Kindly check the attached code snippet for your reference.


<GridColumn Field=@nameof(Order.ShipCountry) HeaderText="Ship Country" EditType="EditType.DropDownEdit" Width="150">

<EditTemplate>

<SfDropDownList ID="ShipCountry" TItem="Country" Placeholder="Ship Country"FloatLabelType=Syncfusion.Blazor.Inputs.FloatLabelType.Always TValue="string" @bind-Value="@((context as Order).ShipCountry)" DataSource="@Countries">

<DropDownListFieldSettings Value="CountryName" Text="CountryName"></DropDownListFieldSettings>

</SfDropDownList>

</EditTemplate>

        </GridColumn>


Regards,

Mohanraj M



BM Brendan Mulvaney April 20, 2022 03:46 PM UTC

That worked perfectly - thanks



SP Sureshkumar P Syncfusion Team April 21, 2022 05:29 AM UTC

Brendan,


Thanks for your update.


Regards,

Sureshkumar P


Loader.
Up arrow icon