spicywebau / craft-fieldlabels

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

Relabel instructions are being output twice #14

Closed zackspear closed 5 years ago

zackspear commented 6 years ago

Hey there! First of all thanks for this super handy plugin. Saves me from creating a bunch of one-off fields.

As of yesterday, I ran into an issue where Relabel instructions are being outputted twice. Not sure what's causing it to happen.

screen shot 2017-11-15 at 9 32 18 am

Using:

The data seems to have a single instance of the instruction text. screenshot 2017-11-15 09 44 54

If you need any additional information, I'll be happy to provide it.

ttempleton commented 5 years ago

This was caused by the Relabel / Field Labels instruction being applied per line of the original field instruction, so it would duplicate if the original instruction was multi-line.

This has been fixed in Field Labels 1.0.6 by: