adospace / reactorui-maui

MauiReactor is a MVU UI framework built on top of .NET MAUI
MIT License
555 stars 46 forks source link

Can't update a State value #146

Closed MattePozzy closed 10 months ago

MattePozzy commented 10 months ago

HI, I have a field that opens a Syncfusion popup inside which there is a list. On the click of the list I have to fetch the selected value and go to update the respective value on the State.

I've tried various ways but I can't. I just managed to update the value of the field with a trick by fetching the native object, but the value in the State stays the same.

How can i solve?

Attacched a video and a sample.

Regards.

Project1.zip

adospace commented 10 months ago

Just added a sample code showing how to open/close the Syncfusion popup containing a collection view. The code shows how to handle the selection event. https://github.com/adospace/mauireactor-integration/blob/cd553766664c9549a503d650218c1088f583411d/Syncfusion/SfIntApp/Pages/MainPage.cs#L49

Regarding your code, I see that your implementation for the wrappers of the syncfusion controls is not correct, please use the version from the integration repository