TChecked=bool
Checked=@CheckedTechniciansIds.Contains(technician.TechnicianId)
CheckedChanged=@(e =>
{
CheckedTechniciansIds =
CheckedTechniciansIds.Contains(technician.TechnicianId)
? CheckedTechniciansIds.Where(t => t != technician.TechnicianId)
: CheckedTechniciansIds.Append(technician.TechnicianId);
})
/>
that will cause a flip flop loop
Обсуждают сегодня