MultiSelectorField constructor
MultiSelectorField({
- required String name,
- required Model model,
- required List<
TitleField> titleFields, - required ThirdTable thirdTable,
- String? virtualField,
- String? id,
- bool showInList = false,
- bool isRequired = false,
- int sort = 0,
- FormFieldValidator<
Object> ? validator, - FieldType type = FieldType.multiSelectorField,
Implementation
MultiSelectorField({
required super.name,
required this.model,
required this.titleFields,
required this.thirdTable,
String? virtualField,
String? id,
super.showInList,
super.isRequired,
super.sort,
super.validator,
super.type = FieldType.multiSelectorField,
}) : virtualField = virtualField ?? '\$${id ?? toSnakeCase(name)}',
/// ? MultiSelector Field is not real, because it will not have a real field at the page data
super(id: id ?? toSnakeCase(name), realField: false);