[DisplayName("Team"), LookupEditor(typeof(TeamRow))]
public int? TeamId
{
get => fields.TeamId[this];
set => fields.TeamId[this] = value;
}
[DisplayName("Assigned To"), LookupEditor(typeof(UserRow), cascadfrom = "TeamId"), TextualField("Username")]
public int? AssignedTo
{
get => fields.AssignedTo[this];
set => fields.AssignedTo[this] = value;
}
I create a Serenity form with team and user columns. now i have to select the dropdown users based on the team. the team have multi select in user table. can anyone help me with this
Try using this code in dialog.ts file.