I’ve got this global field definition:
base.yml
type: group
fields:
title:
label: Title
type: text
synopsis:
label: Synopsis
type: textarea
buttons: false
validate:
maxLength: 1000
And, in a blueprint, I try to extend it, replacing the ‘type:text’ ‘Title’ field, with a ‘type:number’ ‘Title’ field, as such:
...
fields:
base:
extends: base
fields:
title:
label: Title
type: number
min: 2000
max: 2030
But as shown below the title field that renders in the panel page is a text field, not a number field, so I think the extend and replace attempt did NOT work.
Additionally, attempting to extend and replace the other field labeled ‘synopsis’ in the global field definition, does work as expected.
Why ?
May it be the title field is special and this won’t work on it ?
I am not sure how to check my Kirby’s version, but I believe it is 2.5.2 or 2.5.0
Thanks