spicywebau / craft-fieldlabels

Override Craft CMS field labels and instructions in the field layout designer
MIT License
123 stars 9 forks source link

Re-labels not visible on “New Entry” pages in Craft 3.4 #47

Closed rungta closed 4 years ago

rungta commented 4 years ago

Description

we’re not seeing any field relabels on the Create a new entry pages. Once the entry or draft is saved, the relabaled field titles and instructions kick-in as you would expect. Quite likely related to #42.

Steps to reproduce

  1. Relabel a field in a section.
  2. Create a new entry in that section.

Screenshot_2020-03-09 Create a new entry (First draft)

Screenshot_2020-03-09 A should've been relabeled - Craft Plugins Dev

Other information

pvldigital commented 4 years ago

Hi @rungta,

It seems like the issue lies with how field labels grabs the context. e.g entry, category, global etc. I have updated the context for new entries, in craft 3.4+, so the labels will correctly be applied. Released in v1.1.9.

swey commented 4 years ago

@pvldigital I updated to 1.1.19 and I still have that problem

Edit: I figured out that the problem is a localized button label, which you are using to determine the action