Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork5.2k
Note was added to preferred_choices option of entity field type#3316
New issue
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
Note was added to clarify expectations of this option
Can you include the pull request template? |
@@ -182,6 +182,10 @@ These options inherit from the :doc:`choice </reference/forms/types/choice>` typ | |||
.. include:: /reference/forms/types/options/preferred_choices.rst.inc | |||
.. note:: | |||
This option expects for array of objects unlike choice field that requires an array of keys |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
This option expects an array of objects unlike the choice field that requires an array of keys.
@xabbuh I am not sure I understand what is 'pull request template'? |
Have a look at thePull Request Format. Hope this helps you. :) |
@xabbuh added, thank you. |
Note was added to preferred_choices option of entity field type
Hi Michael! Ah, this is an excellent note - thanks so much for adding it! Cheers! |
Note was added to clarify that 'preferred_choices' option expects for array of objects but not for array of keys as default choice field type