Guys,
I'm trying to filter some "choices" in my INPUT based on results of some rows in my dataframe. Look:

I need to select the AQA_QT values based on GRAU select. Ex.:
For GRAU = X65, the AQA_QT values must be "VD26", "VD51", "VS06" or "VD31".
My code:
output$iAQA <- renderUI({
aqas <- my_df$AQA_QT
filter(my_df,
GRAU == "input$graudoaco"
)
selectInput(
"aqadoaco",
label = "Selecione AQA:",
choices= aqas,
multiple = F
)
})
That way, it's showing ALL the AQA_QT values. I tried many variations of this code.
How can I do it?
Thx.