WorkOrderStatus: {
title: 'Status da Ordem de Serviço',
fields: {
name: Fields.text("Name"),
previousStatus: Fields.fixedReference('Previous Status', 'Status')
},
referenceName: "name"
}
To reproduce, use the entity above, go to list page, click in "+", create the "Status 1", confirm to save it (you'll be redirected to the list page again), click in the "+", you won't see the "Status 1" into the select.
If you go to another page or refresh the browser, the item will be there.
@anderick pretty interesting case. Thanks for filing it!
Yep there's reference value cache in allcountjs-angular-base. Need to invalidate it on every Create, Update, Delete operation.
To reproduce, use the entity above, go to list page, click in "+", create the "Status 1", confirm to save it (you'll be redirected to the list page again), click in the "+", you won't see the "Status 1" into the select. If you go to another page or refresh the browser, the item will be there.