Skip to content
New issue

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

NULL input for rhandsontable #417

Open
nick-youngblut opened this issue Nov 1, 2022 · 0 comments
Open

NULL input for rhandsontable #417

nick-youngblut opened this issue Nov 1, 2022 · 0 comments

Comments

@nick-youngblut
Copy link

At least for handsontable 0.3.8, providing NULL as input for rhandsontable() produces the error:

Error in get_col_types: Unsupported object type: NULL Can't extract column types.

Why not just add a simple check at the start of the function of if(is.null(df)) return(NULL)? This would make the UI more aligned with DT::renderDataTable() and the UI of various shiny functions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant