snippet-library icon indicating copy to clipboard operation
snippet-library copied to clipboard

Updated the snippet to also set the value property

Open sbassah opened this issue 3 years ago • 0 comments
trafficstars

Context

⛑️ Ticket(s): https://secure.helpscout.net/conversation/1992124058/38187?folderId=14964

The snippet wasn't setting the value property of the choice-based field when populated. When a multi-select field is used, it displays the value property of the field on the entry page, and because the value property hasn't been set by the snippet it displays the entry ID. Added a line of code to also set the value.

sbassah avatar Aug 29 '22 16:08 sbassah