Avoid clobbering existing field prefix, descriptions, and label suffix values

Created on 27 May 2024, 7 months ago
Updated 10 June 2024, 7 months ago

Problem/Motivation

Numeric fields (Integer, Decimal, or Float) configured with Label Help message tex and a Field Prefix text renders the Label Help text but at the cost of stripping off the existing Field Prefix.

Steps to reproduce

Proposed resolution

Prepend Label Help message to existing field prefix text if it already exists.

Create a generalized approach to avoid clobbering existing field prefix, description fields, and label suffix fallbacks.

This refactor should also support proper append/prepend logic when dealing with mixed types, including keyed render arrays, plain strings and FormattableMarkup objects in a generalized way.

Remaining tasks

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Fixed

Version

2.0

Component

Code

Created by

πŸ‡ͺπŸ‡¨Ecuador jwilson3

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