Can't extend 'title' field from global field definition in blueprint

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 :slight_smile: and this won’t work on it ?

typetext

I am not sure how to check my Kirby’s version, but I believe it is 2.5.2 or 2.5.0

Thanks

That has nothing to do with extending the field. If you try to convert a normal title field to number it doesn’t work either. Only text and title types work with a field called title.

Oh, but, I thought the part that says…

title:
  label: Title

…did NOT define the field at all, only the part that says:

type: text

Is this not true for the title field ?

thanks

If you don’t define the type, you get a text field automatically.

Ok, but what I mean is that I can do this, right?:

title:
  label: Title
  type: number

.Thank you

No, as I said above, that does not work.

Oh ok, I misread, thank you