DropdownChoice
Parameters
- T:type
- type
Source
Implementation
pub fn DropdownChoice(T: type) type {
return union(enum) {
choice: *T,
// Will display placeholder text when null.
choice_nullable: *?T,
};
}Source
pub fn DropdownChoice(T: type) type {
return union(enum) {
choice: *T,
// Will display placeholder text when null.
choice_nullable: *?T,
};
}