Material UIでaria-labelを指定する
code:jsx
<TextField
id="greeting"
inputProps={{
"aria-label": "greeting",
}}
{...field}
error={Boolean(errors?.greeting)}
helperText={errors?.greeting?.message}
/>
inputPropsを使えるとinputに対してpropsとして値を付与できるみたい。TextFieldだけにあるっぽいから基本は他のやつは使わない?