I have a radio btn group and I would like to have one selected based on the value of an ngRx Observable.
<md-radio-group (change)="onTodoFilter($event.value);">
<md-radio-button value="SHOW_ALL_TODO">All</md-radio-button>
<md-radio-button value="SHOW_STARTED_TODO">Started</md-radio-button>
<md-radio-button value="SHOW_COMPLETED_TODO">Completed</md-radio-button>
</md-radio-group>
For the Observable I have:
this.todoVisibilityFilter$ = store.select('todoVisibilityFilterReducer');
I would like to use the async pipe and do a compare from the latest/current value of the Observable and the value of the radio button, but I can't figure our the syntax...