We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I cannot declare a schema with prototype of choices.
'process' => [ '_type' => 'prototype', '_required' => TRUE, '_min_items' => 1, '_prototype' => [ '_type' => '_choice', '_required' => TRUE, '_choices' => [ 0 => [ '_type' => 'array', '_required' => FALSE, '_ignore_extra_keys' => TRUE, '_children' => [ 'plugin' => [ '_type' => 'text', '_required' => TRUE ], ]], 1 => [ '_type' => 'prototype', '_required' => FALSE, '_min_items' => 1, '_prototype' => [ '_type' => 'array', '_required' => FALSE, '_ignore_extra_keys' => TRUE, '_children' => [ 'plugin' => [ '_type' => 'text', '_required' => TRUE ], ] ]], ] ]],
Is this is a documented limitation or a bug?
The text was updated successfully, but these errors were encountered:
@romaricdrigon hello?
Sorry, something went wrong.
Omg, '_type' => '_choice' should be '_type' => 'choice'
'_type' => '_choice'
'_type' => 'choice'
Hello @OnkelTem , I was on holidays last week, without my computer nor even mobile network. I'm glad you found the solution!
No branches or pull requests
I cannot declare a schema with prototype of choices.
Is this is a documented limitation or a bug?
The text was updated successfully, but these errors were encountered: