You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am a total newbie reading the documentation, but this example of a combined command (using ReactiveCommand.CreateCombined) confuses me a bit, that would be exactly what I don't want...
In this example of a browser that has a "Clear all" button that clears the browser history, deletes the downloaded files and the cookies (3 separate commands that are combined using ReactiveCommand.CreateCombined) it is said that "...if any child command cannot currently execute, neither can the combined command." But that is not what I would expect from that command. I would expect that if any of the combined commands is enabled, it is possible to execute the command. The for me normal behaviour would be to e.g. disable "Delete downloaded files" if there are no downloaded files. But I would still expect the "Clear all" button to work for the enabled commands. Does there also exist an OR concatenated implementation?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I am a total newbie reading the documentation, but this example of a combined command (using ReactiveCommand.CreateCombined) confuses me a bit, that would be exactly what I don't want...
In this example of a browser that has a "Clear all" button that clears the browser history, deletes the downloaded files and the cookies (3 separate commands that are combined using ReactiveCommand.CreateCombined) it is said that "...if any child command cannot currently execute, neither can the combined command." But that is not what I would expect from that command. I would expect that if any of the combined commands is enabled, it is possible to execute the command. The for me normal behaviour would be to e.g. disable "Delete downloaded files" if there are no downloaded files. But I would still expect the "Clear all" button to work for the enabled commands. Does there also exist an OR concatenated implementation?
Beta Was this translation helpful? Give feedback.
All reactions