also this is working directly on the view:
.onChange(of: testProd) { _ in
products.nsPredicate = NSPredicate(format: "isTrashed = true")
}
so the query shouldn't be the problem.
also this is working directly on the view:
.onChange(of: testProd) { _ in
products.nsPredicate = NSPredicate(format: "isTrashed = true")
}
so the query shouldn't be the problem.