Plugin blueprint -> Invalid field type

Hi all,

i want to include some fields, defined in my plugin blueprint into another blueprint.

    'blueprints' => [
      'test_fields' => __DIR__ . '/blueprints/test_fields.yml'
    ],

the file is located in: plugin/blueprints/test_fields.yml

it contains:

type: group
fields:

  lblTest:
    label: Test
    type: headline
  txtTest:
    label: Text
    type: text

and this is how i include it into the other bp:

 test_fields:
  extends: fields/test_fields

it shows: Invalid field type

I don’t know whats wrong. Please help

That happens because your blueprint is not registered in the fields namespace, so you would have to register as fields/test_fields

ahh thank you very much, i removed fields/ and now it works!