Skip to content

Conversation

@djhi
Copy link
Collaborator

@djhi djhi commented Sep 25, 2025

Problem

useDeleteController does not require a record option. However, if not passed, it will fail at runtime.

Solution

Ensure useDeleteController gets the record from the closest RecordContext by default.

How To Test

Describe the steps required to test the changes

Additional Checks

  • The PR targets master for a bugfix or a documentation fix, or next for a feature
  • The PR includes unit tests (if not possible, describe why)

@fzaninotto fzaninotto merged commit c2c8e5c into master Sep 25, 2025
15 checks passed
@fzaninotto fzaninotto deleted the fix-use-delete-controller branch September 25, 2025 15:52
@fzaninotto fzaninotto added this to the 5.11.4 milestone Sep 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

RFR Ready For Review

Development

Successfully merging this pull request may close these issues.

3 participants