ObservableProperty not working for me #357
-
Hello, I'm new to the CommunitToolkit, so I'm just wondering if I'm doing something wrong or is it a bug. I'm using the lastest version 8.0 preview4. This is a part of my ViewModel code:
And this is part of my View xaml code:
Right now, I'm trying to test displaying on a TextBlock the text the is entered on the TextBox and update the TextBlock with the correspoding input. Right now, it doesn't work. I'm trying to test this library ever since I saw this video https://www.youtube.com/watch?v=aCxl0z04BN8&t=838s from James Montemagno doing the same thing. He uses an older package version but the concept is the same. I'm trying to replicate the same in my project and it just doesn't work. Any help is appreciated. Thanks. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
I assume this is UWP/WinUI 3? You seem to be missing a |
Beta Was this translation helpful? Give feedback.
I assume this is UWP/WinUI 3? You seem to be missing a
Mode=TwoWay
in your{Binding CategorySearch}
🙂