Following the example found in this stackoverflow post: Radio Buttons with boolean
I'd like to create the same scenario using checkboxes instead of radiobuttons.
Essentially Options: IsDomestic, IsInternational. So when a user first reaches the view no checkbox should be selected initially. So the user has the chance to select an option without one being selected by default due to booleans only being true or false.
so i set these in my model :
public bool? IsDomestic {get;set;}
public bool? IsInternational {get;set;}
I understand that an initial step would be to make the model fields null-able bools.
I'd like to implement this using .net cores asp-for="checkbox"
