Can you select the order of your options in a crosstalk filter? filter_select() in a flexdashboard
crosstalk::filter_select(
id = "Indicator",
label = "Indicator",
sharedData = shared_df,
group = ~Indicator,
multiple = FALSE)
where Indicator has the options:
house, kitchen, bathroom, door, window, mat
The outputted flexdashboard crosstalk filter puts the indicators in alphabetical order in the dropdown:
bathroom, door, house, kitchen, mat, window
But is there a way to choose the order of the options so the dashboard user will be able to use the dashboard more easily?