Template does not work with the field Default Value

Created on 20 February 2023, almost 2 years ago
Updated 1 March 2023, over 1 year ago

Problem/Motivation

If the field is configured via template it works fine, however when field has the default value configured, the template won't override it.

Example

article:
  best:
    label: Best
    default: true
    fields:
      field_select_list: CLOSED
  second_best:
    label: "Second best"
    fields:
      title: 'Dolor situm'

In above code we want the Select list field to have a value "CLOSED". However the default value on that field is configured "OPEN". This template does not change it.

πŸ› Bug report
Status

Needs review

Version

1.0

Component

Code

Created by

πŸ‡ΈπŸ‡°Slovakia coaston

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

Comments & Activities

Production build 0.71.5 2024