Project

General

Profile

Actions

Bug #79457

closed

Ext:form throws errors if select value is a number

Added by Susanne Moog almost 8 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Should have
Category:
Form Framework
Target version:
-
Start date:
2017-01-25
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
8
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

Example yaml:

type: Form
identifier: test
label: test
prototypeName: standard
renderables:
  -
    type: Page
    identifier: page-1
    label: Page
    renderables:
      -
        properties:
          options:
            bar: foo
            bum: baz
            123: badam
        type: SingleSelect
        identifier: singleselect-1
        label: 'Single select'

When trying to open that form you get javascript error because the javascript interprets 123: badam as array instead of an object.

Actions

Also available in: Atom PDF