You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The model validation doesn't list that this parameter is required, but maybe it should be? The same is true for field_list_items.
Ideally we should document what the minimum number of parameters are required to create a field this way, and it should be reflected in the model validation, but it seems that they are not quite in sync.
Development oriented environment:
EE 7.2.10
PHP 8.2.0
MySQL 5.7.39
Nginx
The text was updated successfully, but these errors were encountered:
When creating a field programmatically using the
ChannelField
model, the parameterfield_order
appears to be required. When creating with this code:The following error occurs:
Since the error references
field_order
not having a default value, if that is added then there is no error.The model validation doesn't list that this parameter is required, but maybe it should be? The same is true for
field_list_items
.Ideally we should document what the minimum number of parameters are required to create a field this way, and it should be reflected in the model validation, but it seems that they are not quite in sync.
Development oriented environment:
EE 7.2.10
PHP 8.2.0
MySQL 5.7.39
Nginx
The text was updated successfully, but these errors were encountered: