Hello,
Administration » Entity Manager » {entityType} » Fields
then you create new entity field enum and make integer options they are saved as string in json file:
If you change their order in backend (drag and drop), field options are also updated in json file from string to integer.
After the order change if you try to edit your {entityType} enum field you would see that in form display it always shows the default value and not the one saved in database.
ESPO CRM versions which I tried and the issue occurred - 4.4.0 and 4.4.1.
Administration » Entity Manager » {entityType} » Fields
then you create new entity field enum and make integer options they are saved as string in json file:
PHP Code:
{
"fields": {
"status": {
"type": "enum",
"options": [
"1",
"2",
"3"
],
}
PHP Code:
{
"fields": {
"status": {
"type": "enum",
"options": [
1,
2,
3
],
}
ESPO CRM versions which I tried and the issue occurred - 4.4.0 and 4.4.1.
Comment