Number field type as "Select list" display - wrong options

Created on 6 September 2022, about 2 years ago
Updated 15 April 2024, 7 months ago

At this moment
  number_attending:
    '#type': select
    '#options': {  }
    0: '0'
    1: 1
    2: 2
    3: 3
    '#max': '3'
    '#unique': false
    '#title': 'Number Attending'

Should be

  number_attending:
    '#type': select
    '#options':
      - '0'
      - '1'
      - '2'
      - '3'
    '#unique': false
    '#title': 'Number Attending'

The patch is to be provided.

πŸ› Bug report
Status

Fixed

Version

2.0

Component

Code

Created by

πŸ‡ΊπŸ‡¦Ukraine Ruslan Piskarov Kiev, Ukraine

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

Merge Requests

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024