Skip to content

[Form] getData() should return default value from empty, required choice field #8747

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

Closed
webmozart opened this issue Aug 14, 2013 · 1 comment

Comments

@webmozart
Copy link
Contributor

When a choice field is required, has no empty value and is initialized with the default value null, the first choice is automatically selected in the browser. The corresponding choice should in this case also be returned from getData(), which now returns null.

@Nek-
Copy link
Contributor

Nek- commented Oct 22, 2020

@webmozart I assume this issue could be closed?

@fabpot fabpot closed this as completed Oct 23, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants