Inputs.search accepts the columns option to restrict filtering to a subset of columns. However, doing so also sets the .columns property on the dataset. Downstream cells that display the data via Inputs.table() will only show the filtered columns, unless the columns option is passed in explicitely.
Repro
Create a notebook with the following three cells:
data = [{foo: 1, bar: 'a'}, {foo: 2, bar: 'b'}, {foo: 3, bar: 'c'}]
Inputs.search accepts the
columns
option to restrict filtering to a subset of columns. However, doing so also sets the.columns
property on the dataset. Downstream cells that display the data via Inputs.table() will only show the filtered columns, unless thecolumns
option is passed in explicitely.Repro
Create a notebook with the following three cells:
Notice how the table only displays the column "foo".
Screenshot