Reactiveui: [BUG] Summary of item

Created on 26 Feb 2020  路  3Comments  路  Source: reactiveui/ReactiveUI

Describe the bug
The ReactiveCommand canExecute doesn't seem to be working as expected. This code did work at one point.

Steps To Reproduce
Run this project: https://github.com/seanalford/RxUIWhenAnyValue

Expected behavior
Login button should be disabled if Username or Password fields are null or empty.

Screenshots
image

Environment

  • OS: Pie
  • Version 9.0
  • Device: Pixel 2 Simulator
bug outdated priority

All 3 comments

Hey @seanalford :wave:,

Thank you for contributing to our project financially. We will handle your issue with priority support. To make sure we don't forget how special you are, we added a priority label to your issue.

Thank you again for contributing :tada:!

You are inheriting from BindableBase not ReactiveObject

Change your inheritance and everything should work.

BindableBase would work except in this case you're using the Reactive Fody, you'd need to use whatever Prism's INotifyPropertyChanged mechanism.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

danielvistisen picture danielvistisen  路  4Comments

MartinZikmund picture MartinZikmund  路  6Comments

rmnblm picture rmnblm  路  4Comments

KennyDizi picture KennyDizi  路  4Comments

glennawatson picture glennawatson  路  3Comments