getkirby / kirby

Kirby's core application folder
https://getkirby.com
Other
1.32k stars 168 forks source link

[v4] Link fields lose their type in structure field editor #5815

Closed alexdeloy closed 1 year ago

alexdeloy commented 1 year ago

Description

Link fields inside a structure can be edited as expected and show their expected value inside the tabular preview. When going back and forth with the arrows in the details of the structure field, the type of the link field does not change automatically and remains on the one that was initially opened. When trying to save, a (browser) validation error can be shown, depending on the contents (e.g. this is not a valid E-mail address)

Expected behavior
Link fields inside a structure field should show the correct type when navigating via the arrow buttons of the structure.

grafik

To reproduce

  1. Create a structure field and add a link field somewhere
  2. Add some content (including links with different types) to that structure and save
  3. Open the structure and click on any entry
  4. Navigate with the arrow buttons of the structure field

Your setup

Kirby Version v4.0.0-beta2 Console output -

lukasbestle commented 1 year ago

Looks like a duplicate of #5814, will be fixed in beta 3.