Hi, Updating SyncFusio blazor to the latest version (19.2.0.47) I noticed that in the component dropdownlist some elements are repeated, which do not exist in the data source and in fact if you move with the up / down arrow keys the cursor never goes on these elements while clicking with the mouse is selected. it is a behavior that has been present for at least two updates and in fact I was hoping that in the last one it was corrected but instead it still persists.
I hope it will be resolved soon. thank you
Hi,
the sample code is this (but in my code there are others place with similar code)
<SfDropDownList TValue="byte" TItem="DropdownFields" @bind-Value="@Signal" DataSource="@GetTsdAvailable()" FloatLabelType="@FloatLabelType.Always" Placeholder="@ItemLabel" Enabled="@ElementEnabled"> <DropDownListFieldSettings Value="Id" Text="Text"></DropDownListFieldSettings> </SfDropDownList>
I notice that this behavior is present in dropdownlist where the datasorce is built a run time.
regards
hi, attached to this a little video of dropdownlist behavior.
The item "nessuna" is repeated more than one time.
regards
Hi, I tried your example, I changed it in every way but I can't even reproduce the problem in the example app you sent me.
In my project I keep seeing the correct datasource but in the view I always see an extra item which is always the one linked to @ bind-value, but not always. In some cases, in the same way, the DDL works fine.
Finally I added a classic select in the blazor code to see if there was a problem with the data but the select shows the list correctly. as you can see in the images that I am attaching.
One last test I did by replacing the property used in the @ bind-Value with a standard property such as
byte? propertyname {get; set;}
instead of using a property, always byte ?, but which in the get and in the set modify another property (not nullable) and in this way the problem does not occur.
Problem is, I did the same thing in the sample app you sent me and it works great that way too.
I hope you have some idea of what it may be or what I can do to understand
hi, unfortunately I was unable to replicate the error in a sample app so I had to replace all SfDropDownList with the classic select / option. Also, in a post on SfTextBox (ID 168294) I have a problem that I can't solve, not even with your suggestions. At this point I think I have some problem with the Syncfusion library which in my current application is not working as it should. Since I cannot recreate the app, because it is too far in development, I wanted to ask you if there is a way to understand what can affect the behavior of the library.
waiting for your kind reply
kind regards
hello Salvatore,
I happened to encounter similar issue ( 168297 ) in sfdropdownlist. I noticed there was a "datatype" mismatch between Datasource's Tvalue and @bind-value item for my code. My issue got resolved when datatype was matched.
Regards
Tejaswini
Hello Tejaswini
sorry for the delay with which I reply but I confirm that the problem is exactly what you indicated.
thank you very much for the tip
Regards
Salvatore