Fix slugField render behavior in admin#283
Merged
linkion merged 8 commits intoJan 11, 2026
Merged
Conversation
…ield-on-articles-in-admin
Member
|
Nice! It seems their solution was to not bother with updating the slug until you save the document. Which makes sense and is more pragmatic than constantly updating the slug whenever the title changes, when that's not something that should change much SEO wise. |
Contributor
|
This is working well on staging |
linkion
approved these changes
Jan 11, 2026
linkion
left a comment
Contributor
There was a problem hiding this comment.
Code changes look good to me, tested working on staging
linkion
added a commit
that referenced
this pull request
Jan 16, 2026
Duplicated #283 to app/dgg-political-action ## Testing Check imputing text on collection titles. Should be smooth now. --------- Co-authored-by: Patrick Orave <oravep@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Context
Fix for Issue:
#281
Fix copied from
payloadcms/payload#14007
Using the new module
slugField from payloadand removed old template version filessrc/fields/slug. This should help with longer term compatibility on updates.because this uses payload official version, they renamed table columns,
When typing in the title field, the title is now properly updated and fluid, however the slug does not auto-fill anymore.
Note: I tested the behavior from an updated and new payload-website template, it seems to not auto fill on new templates as well.
Test Plan
browse to
http://localhost:3000/adminMake new pages, articles, edit the new and existing titles.