Skip to content

[TypeScript] Fix ReferenceManyField queryOptions type doesn't support error and success callbacks#11166

Merged
WiXSL merged 2 commits intomasterfrom
referencemanyfieldcontroller-type
Feb 18, 2026
Merged

[TypeScript] Fix ReferenceManyField queryOptions type doesn't support error and success callbacks#11166
WiXSL merged 2 commits intomasterfrom
referencemanyfieldcontroller-type

Conversation

@fzaninotto
Copy link
Member

@fzaninotto fzaninotto commented Feb 18, 2026

Problem

TypeScript error when trying to override error callback on ReferenceManyField

image

Solution

Fix the type

How To Test

I added a story using the queryOptions prop, and Typescript is happy

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)
  • The PR includes one or several stories (if not possible, describe why)
  • [ ] The documentation is up to date

@WiXSL WiXSL merged commit 9fac1bf into master Feb 18, 2026
15 checks passed
@WiXSL WiXSL deleted the referencemanyfieldcontroller-type branch February 18, 2026 14:52
@WiXSL WiXSL added this to the 5.14.3 milestone Feb 18, 2026
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.

2 participants

Comments