React-admin: Old documentation

Created on 20 Sep 2018  路  3Comments  路  Source: marmelab/react-admin

What you were expecting:
Working material inputs

What happened instead:
Material inputs don't work - they do not show labels, errors, etc.

Steps to reproduce:
Create custom input following the docs: https://marmelab.com/react-admin/Inputs.html#writing-your-own-input-component

Other information:
Documentation about custom work with material inputs is old, when I changed code to this, everything works as expected:

<TextField
      helperText={label}
      label={label}
      {...input}
      {...custom}
    />

Environment

  • React-admin version: 2.3.0
  • Last version that did not exhibit the issue (if applicable): -
  • React version: 16.5.0
  • Browser: -
  • Stack trace (in case of a JS error): -
good first issue

Most helpful comment

Hello, I'll take this issue on if no one else is working on it?!

All 3 comments

Hello, I'll take this issue on if no one else is working on it?!

Feel free to do!

Fixed by mistake on master, reopening.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

nicgirault picture nicgirault  路  3Comments

Dragomir-Ivanov picture Dragomir-Ivanov  路  3Comments

Kmaschta picture Kmaschta  路  3Comments

yangjiamu picture yangjiamu  路  3Comments

nicgirault picture nicgirault  路  3Comments