I am trying to make a shiny app which contains two inputs. The question is how can I make them reactive to each other.
I have a table
with parts id & parts name
input1 is choices for parts id
input2 is choices for parts name
I want to do something like this, if I choose from input1(part id), in input2 (part name) is automatically selected.
Or, if I choose from input2(part name), input1 (part id) is selected.
Note:- that both the inputs are reusable. i.e. if selected from input 1, no values of input 2 must get removed. (All values should be present for another selection).
I am trying to do the same
but different errors pops up one of which is:-
Error in $<-.reactivevalues: Attempted to assign value to a read-only reactivevalues object
Any methodology or package I can use for this.
Sorry, could not generate a reprex.
Thanking you for your answer