silverstripe / silverstripe-admin

Silverstripe Admin Component
BSD 3-Clause "New" or "Revised" License
25 stars 91 forks source link

FIX Support nested redux forms #1694

Closed GuySartorelli closed 4 months ago

GuySartorelli commented 4 months ago

Description

Allows nested redux-forms to be submitted without propogating the nested submit event up to the parent form.

Manual testing steps

  1. Add the associated PRs (see issue) to your site
  2. Upload a file to your site
  3. Set up an elemental block that has links (single or multi doesn't matter)
  4. Add a file link
  5. Select "choose existing" and then select the file
  6. Make sure your browser window width is less than 992px wide (the "insert" button when you've selected the file should become "insert file")
  7. Click "insert file" (this should add the file to the upload field and NOT submit the link form)
  8. Save the link (this should not give you a console warning about not returning a promise)

Issues

Pull request checklist