I'm trying to programmatically change the value of an existing ComboBox to something that's not in the last OnRead args.Data list. Is there a way for me to achieve this and populate the TextField? The only way I can see is to destroy the control and remake it, triggering the initialization OnRead.
1 Answer, 1 is accepted
answered on 25 Jan 2022, 08:59 AM
| edited on 25 Jan 2022, 05:38 PM
In UI for Blazor 3.1 (due in early March) we will add a method to reload data when using OnRead.
In the meantime, it is possible to do this in two ways:
recreate the component, as you have already tried
toggle the ValueField of the component - I agree this is not a very ingenious approach, but I am mentioning it in case you find this more convenient for your scenario