Closed
Description
Describe the Bug
When creating a link, the form should conditionally show the URL or related entity. However, this is not working any more since 3.22.

Link to the code that reproduces this issue
https://github.com/johannesspohr/payload-link-bug-reproduction
Reproduction Steps
The repo is just the result of create-payload-app
with the website template without any modifications
- create a Page and insert a link
- select "Internal link"
- the field should change to Entity, but it stays "URL"
Which area(s) are affected? (Select all that apply)
area: ui
Environment Info
Payload: 3.22
Next: 15.1.7
Metadata
Metadata
Assignees
Labels
No labels
Activity