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

defaultValue 0 has no effect on Grid-Integer-Field #860

Open
linksblinker opened this issue Sep 10, 2017 · 0 comments
Open

defaultValue 0 has no effect on Grid-Integer-Field #860

linksblinker opened this issue Sep 10, 2017 · 0 comments

Comments

@linksblinker
Copy link
Contributor

Setting a defaultValue of 0 in grid-config of an integer field has not effect. At create form, the field stays blank which causes a 'cannot be null' error while saving.

Workaround: setting 'attributes' => array('value' => 0) in grid-config of integer field works as expected.

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

No branches or pull requests

1 participant