79487511

Date: 2025-03-05 19:42:11
Score: 1
Natty:
Report link

I really don't like this solution, but I added a field on the model: @attr() anotherModelSelected; and in the function that is setting anotherModel also set anotherModelSelected to true (and false when cleared). Then in the schema definition, ignored anotherModel and tracked anotherModelSelected instead.

I don't like it because it adds another field to the model when the actual field we WANT to test is already present in the model, but I'll roll with this for now...

Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: ZacMoeShop