We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
It looks like if the choices are dynamic then value must be dynamic too, in the example below the value default is not set to Species
choices
value
Species
test_block <- function(data, ...) { all_cols <- \(data) colnames(data) fields <- list( cols = new_select_field("Species", all_cols) ) new_block( fields = fields, expr = quote({ data[,.(cols)] }), ..., class = c("test_block", "transform_block") ) }
To make it work we'd have to use new_select_field(\(data) "Species", all_cols)
new_select_field(\(data) "Species", all_cols)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
It looks like if the
choices
are dynamic thenvalue
must be dynamic too, in the example below thevalue
default is not set toSpecies
To make it work we'd have to use
new_select_field(\(data) "Species", all_cols)
The text was updated successfully, but these errors were encountered: