material-ui-table-edit icon indicating copy to clipboard operation
material-ui-table-edit copied to clipboard

Need Data type as SelectField with API

Open BeehiveSaravana opened this issue 6 years ago • 1 comments

We can use TextField, DataPicker in 'material-ui-table-edit'. But I need SelectField in this table. Can you please guide me?

BeehiveSaravana avatar Mar 13 '18 12:03 BeehiveSaravana

yeah, you would need to add SelectField here https://github.com/emkay/material-ui-table-edit/blob/master/index.jsx#L7 and then add a new type here https://github.com/emkay/material-ui-table-edit/blob/master/index.jsx#L89-L126 that uses the SelectField component and pass in all the right props.

There might be some other styling things you need to do, but that should give you a start. Would merge this in if someone wants to do it.

emkay avatar Mar 13 '18 15:03 emkay