Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

field-create: Make the field-widget option optional #5186

Closed
DieterHolvoet opened this issue Jul 20, 2022 · 0 comments · Fixed by #5187
Closed

field-create: Make the field-widget option optional #5186

DieterHolvoet opened this issue Jul 20, 2022 · 0 comments · Fixed by #5187
Assignees

Comments

@DieterHolvoet
Copy link
Contributor

Describe the bug
While creating a new field type, I noticed field:create fails if a field type has no possible field widgets.

To Reproduce
Create a field with a field type with no field widgets.

Expected behavior
Skip the field-widget option

Actual behavior
An error: Choice question must have at least 1 choice available.

Workaround
/

System Configuration

Q A
Drush version? 11.x
Drupal version? 9.x
PHP version 8.x
OS? Mac

Additional information
/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant