Hello everyone,
I have a hard time using grid with editing with foreignKeyField, I have done other grids with the same requirements usually this is with strange behavior.
When filtering the combobox and saving the first item everything happens normally, but when doing the second item on the grid the text of the item in the grid is blank but the requests usually occur bringing the correct data, but it is not displayed on the grid. If you click edit on the failed item and then save the data is loaded correctly.
Steps to reproduce.
1 - Attempt to add an item by filtering for "nova" then select any item that appears and then save.
2 - Add another item by filtering "telha" then select any item that appears and then save.
You will notice that the item first registered will disappear and the last one not.
You may also notice that all requests bring the correct data information but it is not placed on the grid.
Another detail is that this occurs only when combobox is filtered.
follows an example project.
Attachment:
angularu9ae8c_79f7ab3c.zip