material-ui-chip-input
material-ui-chip-input copied to clipboard
Chip note adding using space bar
Hi, chip adding with Enter and tab keys but not Adding using space, i am using the following to add tab enter and space, both the tab and enter working fine but space not adding the chip. plus if i go to nodemodules file and change the default key from enter to space then after recompiling my react project , the chip is adding perfectly fine with space bar . but this is not the right way to add more item in array . one should not change the node module.
newChipKeys={['Enter' ,'Space' ,'Tab']}
The newChipKeys
props uses Key values and the value for Space is " "
. So your props should be newChipKeys={[" "]}
instead