title: How to provide a custom redirect to a SimpleForm inside Edit?
body: <p>After an edit, I follow the convention to redirect on the list.</p>
  
  <p>However, I am in a case where I need to provide additional parameters in the list URL.</p>
  
  <p>Is there a way to "cheat" on SimpleForm/Edit to customize the redirect ?</p>
  
  <p>Here is the relevant part of my code :</p>
  
  <pre><code>const ProviderUserEditActions = ({ basePath, data }) =&gt; {
    if (! data) return null
    return (
      &lt;CardActions style={cardActionStyle}&gt;
          &lt;ListButton basePath={basePath+'?'+queryString.stringify({providerId:data.providerId, providerName:data.providerName})} /&gt;
          &lt;RefreshButton /&gt;
      &lt;/CardActions&gt;
    );
  }
  
  export const ProviderUserEdit = (props) =&gt; (
      &lt;Edit actions={&lt;ProviderUserEditActions/&gt;} title={&lt;ProviderUserEditTitle /&gt;} {...props}&gt;
          {/*redirect=false will cause the loosing of the URL parameters :(
            but this is the "least worst", because otherwise it would redirect to
            'list' but without URL parameters it will completely crash...
            we hope that someday we will be able to provide our own redirect
            function
            */}
          &lt;SimpleForm redirect={false}&gt;
              &lt;TextInput source="name" /&gt;
              &lt;TextInput source="email" /&gt;
              &lt;TextInput source="phone" /&gt;
              &lt;BooleanInput source="activated" /&gt;
          &lt;/SimpleForm&gt;
      &lt;/Edit&gt;
  );
  </code></pre>