Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(ui): table custom label missing client field props #10540

Merged

Conversation

LimChorngUan
Copy link
Contributor

@LimChorngUan LimChorngUan commented Jan 13, 2025

Fixes #9663. The field prop was not passed to custom label components within the list view table.

Screenshot 2025-01-13 at 16 05 34

@LimChorngUan LimChorngUan force-pushed the fix-tabel-custom-label-missing-props branch 2 times, most recently from 00e53dd to f737f70 Compare January 13, 2025 15:07
@jacobsfletch jacobsfletch changed the title fix: table custom label missing client field props fix(ui): table custom label missing client field props Jan 13, 2025
@jacobsfletch jacobsfletch enabled auto-merge (squash) January 13, 2025 16:37
@jacobsfletch jacobsfletch merged commit 415fbf1 into payloadcms:main Jan 13, 2025
69 checks passed
jacobsfletch added a commit that referenced this pull request Jan 13, 2025
…olumns (#10547)

Continuation of #10540. Passes server props to custom label components
rendered within table columns, such as the list view. This way custom
server components can have access to `payload`, `i18n`, etc. as
expected.
Copy link
Contributor

🚀 This is included in version v3.17.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Custom Label Component doesn't receive client props in List View
2 participants