Jump to content

Ajax repeater - wrong language field active - 🐞 or just me?


ICF Church
 Share

Recommended Posts

Hi 👋

Anyone else having this problem?

Requirements:

- Repeater (matrix & normal) with mutlilanguage fields (text, textarea…) 
- Backend language set to something other than default (ie. German) 

Reproduce:

- Add a new repeater Item (ajax, I found no way to possible to disable it with matrix)

(Notice how the default language tab is active instead of the backend language…)

- Write something into the (default language) field
- Try to save, if field is required, this will not work. If not required, then when reloading, the content will be inside the backend language field, instead of the default language field who was (presumably) active

Analysis:

When  loading  a new repeater element with ajax, the default langue tab is active, but the backend language inputfield is visible (with no visual indication). When writing into the field, it will populate the backend language. When manually clicking on the default language tab (which is already active), the field will switch to the actual default language field (which is [now] empty) (that can now be populated…)

Also Notice, the labels of the elements to be added are in default language as well instead of the translated label (images instead of Bilder)…

ProcessWire 3.0.148, Profields 0.0.5…

Is it my system configuration, or does anyone else have the same issue? This is a screen recording of the problem:

Issue: https://github.com/processwire/processwire-issues/issues/1179

Link to comment
Share on other sites

  • 1 month later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...