Skip to content
Snippets Groups Projects
Commit 31c4100c authored by Jérémie BRISON's avatar Jérémie BRISON
Browse files

fix(form) : fix radio default select

parent 40c57586
No related branches found
No related tags found
Loading
......@@ -27,7 +27,7 @@ export class Structure {
public contactSurname: string = null;
public fonction: string = null;
public lockdownActivity: string = null;
public pmrAccess: boolean = false;
public pmrAccess: boolean = null;
public publicsAccompaniment: string[] = [];
public proceduresAccompaniment: string[] = [];
public accessModality: string[] = [];
......@@ -43,8 +43,8 @@ export class Structure {
public hours: Week;
public equipmentsDetails: string = null;
public equipmentsAccessType: string[] = [];
public freeWorkShop: boolean = false;
public freeWifi: boolean = false;
public freeWorkShop: boolean = null;
public freeWifi: boolean = null;
public isOpen: boolean = false;
public openedOn: OpeningDay = new OpeningDay();
......
<button
(click)="clicked(true)"
[ngClass]="{ selected: selectedOption }"
[ngClass]="{ selected: selectedOption && selectedOption != null }"
fxLayout="row"
fxLayoutAlign=" center"
fxLayoutGap="17px"
......@@ -14,7 +14,7 @@
</button>
<button
(click)="clicked(false)"
[ngClass]="{ selected: !selectedOption }"
[ngClass]="{ selected: !selectedOption && selectedOption != null }"
fxLayout="row"
fxLayoutAlign=" center"
fxLayoutGap="17px"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment