Skip to content

[5.7]: Issue with native Link field and translations #17181

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

Closed
adrienpicard opened this issue Apr 25, 2025 · 3 comments
Closed

[5.7]: Issue with native Link field and translations #17181

adrienpicard opened this issue Apr 25, 2025 · 3 comments
Labels

Comments

@adrienpicard
Copy link

adrienpicard commented Apr 25, 2025

What happened?

Description

I'm using a Link field with the Label option. The field is translatable per site.

When the label field is edited in a slide-out, its value is cleared in other sites. Note that it works as expected when the field/label is not edited in a slide-out.

Steps to reproduce

  1. Create a translatable field with Label on, use it in a Matrix field
  2. Create an entry and a matrix block in Site A. Set the link label to Label A
  3. Switch site and open the block in a slide-out. Set the label to Label B
  4. Switch back and check to Label A, it's blank

Expected behavior

Link labels should retain their values across all languages/sites when edited in any interface, including slide-outs.

Craft CMS version

5.7.3

PHP version

8.2

@brandonkelly
Copy link
Member

I’m not able to reproduce that.

Can you send your Composer files and a database backup to [email protected] so we can try reproducing on your site?

brandonkelly added a commit that referenced this issue Apr 25, 2025
@brandonkelly
Copy link
Member

Thanks for sending those files in! Craft 5.7.4 is out with a fix.

brandonkelly added a commit that referenced this issue Apr 25, 2025
@adrienpicard
Copy link
Author

Thanks so much Brandon! 🙏

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

No branches or pull requests

2 participants