title: How to combine create and edit page in react-admin
body: <p>I am new for the react and react-admin, but I am now using it in our project, everything is good, but there is one thing I don't know how to make it. in our application. the create and edit page almost same, the only difference is some fields are disabled in edit view, so I want to combine create and edit, is there any document about it. I searched it but it seems not an easy way to do it, it's appreciated if can get some sample code. thank you !!!</p>
  
  <p>Hi @Mads, thank you for your answer, I update the question here.  what I mean is last time, i also create a separate form like what you did and I insert the component directly as below (e.g. <strong><code>&lt;Form/&gt;</code></strong>). it will get an error: <strong>the invalid value for prop ‘save’ on  tag</strong>
  I am just curious what's the difference with this way (<strong><code>{form('edit')}</code></strong>)</p>
  
  <p><code>&lt;Edit {...props} undoable={false} style={{width: '100%'}}&gt; &lt;Form/&gt; &lt;/Edit&gt;</code> </p>