no message
This commit is contained in:
parent
cc822f0797
commit
fe6ab0d125
|
@ -97,6 +97,7 @@ import { ProjectDetailedComponent } from './viewers/project-detailed/project-det
|
||||||
import {ProgressBarModule} from 'primeng/primeng';
|
import {ProgressBarModule} from 'primeng/primeng';
|
||||||
import {StepsModule,MenuItem} from 'primeng/primeng';
|
import {StepsModule,MenuItem} from 'primeng/primeng';
|
||||||
import {CheckboxModule} from 'primeng/primeng';
|
import {CheckboxModule} from 'primeng/primeng';
|
||||||
|
import {RadioButtonModule} from 'primeng/primeng';
|
||||||
|
|
||||||
@NgModule({
|
@NgModule({
|
||||||
declarations: [
|
declarations: [
|
||||||
|
@ -155,7 +156,8 @@ import {CheckboxModule} from 'primeng/primeng';
|
||||||
BrowserAnimationsModule,
|
BrowserAnimationsModule,
|
||||||
SidebarModule.forRoot(),
|
SidebarModule.forRoot(),
|
||||||
StepsModule,
|
StepsModule,
|
||||||
CheckboxModule
|
CheckboxModule,
|
||||||
|
RadioButtonModule
|
||||||
],
|
],
|
||||||
providers: [{
|
providers: [{
|
||||||
provide: HTTP_INTERCEPTORS,
|
provide: HTTP_INTERCEPTORS,
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
<div [formGroup]="form">
|
<div [formGroup]="form">
|
||||||
<input type="radio" id="{{field.id + 'true'}}" formControlName="value" value="true"><label for="{{field.id + 'true'}}" class="radio-label">Yes</label>
|
<p-radioButton name="{{field.id}}" value="true" label="Yes" formControlName="value"></p-radioButton>
|
||||||
<br>
|
<br>
|
||||||
<input type="radio" id="{{field.id + 'false'}}" formControlName="value" value="false"><label for="{{field.id + 'false'}}" class="radio-label">No</label>
|
<p-radioButton name="{{field.id}}" value="false" label="No" formControlName="value"></p-radioButton>
|
||||||
</div>
|
</div>
|
|
@ -1,6 +1,5 @@
|
||||||
<div [formGroup]="form">
|
<div [formGroup]="form">
|
||||||
<div *ngFor="let option of this.field.data.options let index = index">
|
<div *ngFor="let option of this.field.data.options let index = index">
|
||||||
<input type="radio" formControlName="value" [value]="option.value" id="{{field.id + index}}"/><label for="{{field.id + index}}" class="radio-label">{{option.label}}</label>
|
<p-radioButton name="{{field.id}}" [value]="option.value" label="{{option.label}}" formControlName="value"></p-radioButton>
|
||||||
<br>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
Loading…
Reference in New Issue