JSON Serialization in `forAttribute` Does Not Support ACF Prefixing

Description

The forAttribute method in the framework supertype does not support secure JSON prefixing settings for ACF. Since this method deals exclusively with JSON in HTML attributes, I would suggest adding a toJSON method which handles the correct method signature differences between engines and then pass the serialization through that method. Example:

Activity

Show:
Fixed
Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Reporter

Components

Fix versions

Priority

Sentry

Created October 25, 2022 at 8:14 PM
Updated October 26, 2022 at 9:32 AM
Resolved October 26, 2022 at 9:32 AM