Jul 18, 2019 03:04 AM|Rena Ni|LINK
1.As mgebhard said, your mock id is ItemId but your view shows id. Is it our misunderstanding of your model definition?Could you share the whole model?
The problem i am having is the message keeps showing no matter what.
Do you mean that you get four messages but one record is true and others are false ?
2.By testing your code and mgebhard 's code, it get the following two result. Which result is your requirement: