Prefix and suffix html

Created on 5 June 2023, over 1 year ago
Updated 4 October 2023, about 1 year ago

Problem/Motivation

Endpoint prefix and suffix values need container elements to facilitate alignment and differentiation from the slider value text. See attached screenshot.

Steps to reproduce

Create a range slider element through the FAPI and specify prefix and suffix values like so

 '#output' => 'below',
 '#output__field_prefix' => 'Needs work',
 '#output__field_suffix' => 'Exceeds Expectations',

Proposed resolution

Add span tags with hard coded classes to prefix and suffix output in range-slider.js

✨ Feature request
Status

Needs review

Version

2.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States Peter Caritas

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

Comments & Activities

Production build 0.71.5 2024