-
Notifications
You must be signed in to change notification settings - Fork 33
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
Inputs.table() for an array of primitives #160
Labels
enhancement
New feature or request
Comments
More bluntly, Inputs.table could special-case
|
If we special-case strings, we should special-case all primitive values (numbers, booleans too, and possibly null and undefined). |
noticed & documented by @triptych https://observablehq.com/@triptych/how-to-get-around-flat-array-issue-in-observable-tables |
Fil
added a commit
that referenced
this issue
Feb 25, 2022
we continue to ignore nullish values when collecting column names, so that when a table has a few nulls in an array of key-value objects, we don't create a spurious column. fixes #160
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I was expecting Inputs.table() to show me a list of these filenames, but instead it broke each letter out into its own cell.
Slack thread:
![image](https://user-images.githubusercontent.com/1316196/124012139-a6fec100-d995-11eb-9320-a300349a3cd5.png)
Code:
Zip file:
Dog_Photos.zip
The text was updated successfully, but these errors were encountered: