Reputation: 28076
I am using Material-Table to easily manage my data. It is fantastic, but for one feature. With the below code I get a select menu. I would like to have a multiselect menu, so i can save more then one id, ideally an array.
columns = [
{
title: 'Game Systems',
field: 'gameSystemIds',
type: 'numeric',
lookup: {1: "40k", 2: "Fantasy"},
},
]
<Table
columns={columns}
data={allManufacturers}
</>
Is it possible to use a multi select box?
Upvotes: 2
Views: 4390