spicywebau / craft-fieldlabels

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

Add ability to save labels for multiple field layouts in all cases; Verbb Wishlist support; Fix IE JS errors #43

Closed ttempleton closed 5 years ago

ttempleton commented 5 years ago

Changes the way Field Labels formats its POST data; removing the Commerce-specific case in spicyweb\fieldlabels\Plugin::_bindEvent() of handling two field layouts for product types / variants and just making Field Labels send its data segmented by field layout in all cases. This then allows for Verbb Wishlist support without having to provide another specific case in _bindEvent() for its similar list types / items, and should handle any other similar cases with other plugins that Field Labels might support in the future (provided that Field Labels is updated in the other relevant areas to support the plugins, of course).

Due to this update changing how Field Labels formats its POST data, it would also require a small update to Neo to maintain its compatibility with Field Labels. See spicywebau/craft-neo#244.