TextInput.js を見るとoptionsプロパティがmaterial-ui/TextFieldに渡るとある。
TextField.jsにhintTextというのがあって、それがplaceholder的なもの。
なので以下のように指定するとよい。
<TextInput source="name" options={{hintText: "Yamada Taro"}}/>
More than 5 years have passed since last update.
TextInput.js を見るとoptionsプロパティがmaterial-ui/TextFieldに渡るとある。
TextField.jsにhintTextというのがあって、それがplaceholder的なもの。
なので以下のように指定するとよい。
<TextInput source="name" options={{hintText: "Yamada Taro"}}/>
Register as a new user and use Qiita more conveniently