When numericInput is blank, Shiny automatically sends NA. We want to treat that NA as a 0 in the weight combination. We want to redisplay the select button with the new weight (output$dynamicButton) should be updated. Also need to rerun optimization + make sure new weights are selected.
When numericInput is blank, Shiny automatically sends NA. We want to treat that NA as a 0 in the weight combination. We want to redisplay the select button with the new weight (output$dynamicButton) should be updated. Also need to rerun optimization + make sure new weights are selected.