Skip to content

Latest commit

 

History

History
31 lines (27 loc) · 1.21 KB

README.md

File metadata and controls

31 lines (27 loc) · 1.21 KB

MultiSelectTextFunc Error

Shows the MutliSelectTextFunc error

A small demonstration of the MudBlazor MultiSelectionTextFunc Error.

What happens: The MultiSelectionTextFunc callback gets called numerous times, often when it shouldn't be involved at all.

How: Build and run the project while the Output window is open, click on the MudBlazor tab then click on the Report dropdown. You should see this:

...
Host extension connected
Initializing host services...
�[0m�[48;5;127m�[38;5;231mblazor�[0m�[1m Loaded 10.77 MB resources
�[0mThis application was built with linking (tree shaking) disabled. Published applications will be significantly smaller.�[0m
Loaded 10.75 MB resources from cache
Loaded 0.03 MB resources from network
GetMultiSelectionText
GetMultiSelectionText
The thread 0xc0f4 has exited with code 0 (0x0).
...
The thread 0x85e0 has exited with code 0 (0x0).
rptPicked
GetMultiSelectionText
GetMultiSelectionText
rptPicked
GetMultiSelectionText
GetMultiSelectionText
...

Problem: The first two calls to GetMultiSelectionText are for no reason at all then everytime rptPicked is called GetMultiSelectionText gets called twice.