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 {StepsModule,MenuItem} from 'primeng/primeng';
|
||||
import {CheckboxModule} from 'primeng/primeng';
|
||||
import {RadioButtonModule} from 'primeng/primeng';
|
||||
|
||||
@NgModule({
|
||||
declarations: [
|
||||
|
@ -155,7 +156,8 @@ import {CheckboxModule} from 'primeng/primeng';
|
|||
BrowserAnimationsModule,
|
||||
SidebarModule.forRoot(),
|
||||
StepsModule,
|
||||
CheckboxModule
|
||||
CheckboxModule,
|
||||
RadioButtonModule
|
||||
],
|
||||
providers: [{
|
||||
provide: HTTP_INTERCEPTORS,
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<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>
|
||||
<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>
|
|
@ -1,6 +1,5 @@
|
|||
<div [formGroup]="form">
|
||||
<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>
|
||||
<br>
|
||||
<p-radioButton name="{{field.id}}" [value]="option.value" label="{{option.label}}" formControlName="value"></p-radioButton>
|
||||
</div>
|
||||
</div>
|
Loading…
Reference in New Issue