Adding support to all form API fields including multivalue

Created on 11 July 2024, 4 months ago
Updated 12 July 2024, 4 months ago

Problem/Motivation

Form's elements only allow some field type and we need to use all the fields coming from form API.

Steps to reproduce

Create your own plugin of site config.
Use fields with different options (managed file, entity autocomplete, multivalue...)

You will see that the fields do not build completely because the code limits the field's attributes.
Also, the default value is not set, and the response from JSON API does not come correctly.

Proposed resolution

Adding support to every kind of field.
Fixing the default value's issue.
Fixing JSON API's response based on field type.

Feature request
Status

Active

Version

1.0

Component

Code

Created by

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