Skip to content

Commit

Permalink
Add isFilterable to display.grid
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobmischka committed Dec 22, 2022
1 parent 4faf3ad commit f108544
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/examples/basic/grid.ts
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,7 @@ export const only_images: IntervalActionHandler = async io => {
aspectRatio: 4 / 3,
},
}),
isFilterable: false,
})
}

Expand Down
1 change: 1 addition & 0 deletions src/ioSchema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -446,6 +446,7 @@ const DISPLAY_SCHEMA = {
idealColumnWidth: z.optional(z.number()),
defaultPageSize: z.number().optional(),
helpText: z.optional(z.string()),
isFilterable: z.boolean().default(true),
//== private props
totalRecords: z.optional(z.number().int()),
isAsync: z.optional(z.boolean().default(false)),
Expand Down

0 comments on commit f108544

Please sign in to comment.