Hello, I am looking at how to use a nested object property for the
<e-schedule-resource> tags GroupIdField value.
A user has a CustomField object associated to a Technical Domain which is given a name and value.
public class UserDTO
{
public string? Name { get; set; }
public string? Value { get; set; }
public CustomFieldDTO TechnicalDomain { get; set; }
}
public class CustomFieldDTO
{
public string? Name { get; set; } = string.Empty;
public string? Value { get; set; } = string.Empty;
}
I would like to use something along the line of GroupIdField="UserDTO.TechnicalDomain.Value"
doing so like this does not work.
<e-schedule-resource
dataSource="@Model.Users" field="Value" title="User" name="Users"
textField="Name" idField="Value" groupIDField="TechnicalDomain.Value"
allowMultiple="true"></e-schedule-resource>
Is this something that is possible?