Extend civictheme_get_field_value to support text field type

Created on 20 November 2024, 2 months ago

Problem/Motivation

civictheme_get_field_value does not support Text (formatted) field type

Steps to reproduce

1. Create a Text (formatted) [machine_name: `text`] field type
2. Attempt to retrieve the value with `civictheme_get_field_value`
3. Return value is null as field is not supported

Proposed resolution

Text field type should return the same as `long_text` and `text_with_summary`

Remaining tasks

1. Update civictheme_get_field_value to support this field type.

API changes

Data model changes

🐛 Bug report
Status

Active

Version

1.8

Component

Code

Created by

🇦🇺Australia RichardGaunt Melbourne

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024