TYPO3 Forger
  • Dashboard
  • Get involved
  • Reviews
    Overview Ready for review Work in progress Needs action Needs review Needs verification Needs rebase Negative votes Reviewed and verified Ready to merge
  • Issues
    Stale issues Possible duplicates By category By month
  • Sprints
    Overview Initiatives TYPO3 Core Review board
  • Tools
    Backports ReST helper
  • Help
  • Search
  • Login
Esc

Words find the open ones, a number the issue and the change with it.

  1. Issues
  2. #107169
Issue Bug Closed

#107169settings api: enum not working for int types, only type string

Benjamin Franzke 07/30/25, 07:54 updated 08/12/25, 14:35

Open in Forge Comment in Forge

Description

The following configuration does not render a select box, but a plain <input type=number> field.

my.setting:
  label: 'My Setting'
  default: 0
  type: int
  enum:
    0: ''
    1: 'Option 1'
    2: 'Option 2'

Reviews 2

  • 13.4 90214[BUGFIX] Respect enum configuration in `int` setting types Resolves this issue Merged Benjamin Franzke CR +2 V +2 → main Easy +27 −4 08/01/25, 08:52
  • main 89658[BUGFIX] Respect enum configuration in `int` setting types Resolves this issue Merged Benjamin Franzke CR +2 V +2 → 13.4 Easy +27 −4 08/01/25, 08:51

Related issues 1

  • Bug #106623Site Settings definition works only with string, not int Related to Closed Site Handling, Site Sets & Routing v13 Lina Wolf 04/26/25, 06:32
Parent task
#103034 Unified Settings API
Assigned to
Benjamin Franzke
Author
Benjamin Franzke
Priority
Should have
Category
Site Handling, Site Sets & Routing
Target version
Candidate for patchlevel
TYPO3 version
13
© 2026 TYPO3 GmbH.
  • API
  • Privacy Policy
  • Legal Notice
  • Feedback