-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
in Module Builder on interger filed with default if it is not displayed the default value is not used #22509
Comments
…s default value
@FHenry Just by curiosity, what is the nice tool you use to developp ? |
Phpstorm (my only "breaking rule" to open source or do not use it) |
Thanks! |
I don't see what's wrong. |
@eldy The field status_custom is not provided as it visibility set 5 and default is 1 and notnull=1, I just copy the status field for sample, but it's another field, it's confusing but check it again |
…eQuery FIX: #22509 default value on integer fields don't retrieve by setSaveQuery
Bug
On New module create a field
'status_custom' => array('type'=>'integer', 'label'=>'Status', 'enabled'=>'1', 'position'=>2000, 'notnull'=>1, 'visible'=>5, 'default'=>1, 'index'=>1, 'validate'=>'1',),
Create the object
value is 0
Environment Version
15.0, 16.0
Environment OS
No response
Environment Web server
No response
Environment PHP
No response
Environment Database
No response
Environment URL(s)
No response
Expected and actual behavior
No response
Steps to reproduce the behavior
No response
Attached files
2022-10-06.16-35-52.mp4
The text was updated successfully, but these errors were encountered: