我想用tabIndex在自动完成的材料-ui使用inputProps={{tabIndex:tabIndex?? -1}}但是,当我使用这种财产,然后点击了拉按钮页可以消失身体的任何帮助我的问题是什么?
1
你还需要传播的 params.inputProps
从 Autocomplete
:
<TextField
{...params}
inputProps={{ ...params.inputProps, tabIndex: 1 }}
label="freeSolo"
/>
yessssssssssssss,这是正确的,非常感谢
m.mahdi_rasouli