mirror of
https://framagit.org/framasoft/framadate/funky-framadate-front.git
synced 2023-08-25 13:53:14 +02:00
hide some components
This commit is contained in:
parent
e63bbab755
commit
f3f2d6623b
@ -22,12 +22,12 @@
|
|||||||
<p class="subtitle">
|
<p class="subtitle">
|
||||||
{{ 'creation.want' | translate }}
|
{{ 'creation.want' | translate }}
|
||||||
</p>
|
</p>
|
||||||
<app-kind-select [form]="form"></app-kind-select>
|
<!-- <app-kind-select [form]="form"></app-kind-select>-->
|
||||||
<app-base-config [form]="form"></app-base-config>
|
<!-- <app-base-config [form]="form"></app-base-config>-->
|
||||||
<app-date-select
|
<!-- <app-date-select-->
|
||||||
*ngIf="form.value.configuration && form.value.configuration.isAboutDate"
|
<!-- *ngIf="form.value.configuration && form.value.configuration.isAboutDate"-->
|
||||||
[form]="form"
|
<!-- [form]="form"-->
|
||||||
></app-date-select>
|
<!-- ></app-date-select>-->
|
||||||
<!-- <app-text-select ng-if="!form.value.isAboutDate" [form]="form"></app-text-select>-->
|
<!-- <app-text-select ng-if="!form.value.isAboutDate" [form]="form"></app-text-select>-->
|
||||||
|
|
||||||
<button
|
<button
|
||||||
@ -41,7 +41,8 @@
|
|||||||
<app-advanced-config [poll]="poll" [form]="form" *ngIf="advancedDisplayEnabled"></app-advanced-config>
|
<app-advanced-config [poll]="poll" [form]="form" *ngIf="advancedDisplayEnabled"></app-advanced-config>
|
||||||
</div>
|
</div>
|
||||||
</main>
|
</main>
|
||||||
<footer class="column">
|
<footer class="column" *ngIf="show_debug_data">
|
||||||
|
<h2>Debug data</h2>
|
||||||
<pre class="debug padded warning">
|
<pre class="debug padded warning">
|
||||||
form values :
|
form values :
|
||||||
{{ form.value | json }}
|
{{ form.value | json }}
|
||||||
|
@ -19,6 +19,7 @@ export class FormComponent implements OnInit {
|
|||||||
public form: FormGroup;
|
public form: FormGroup;
|
||||||
|
|
||||||
public advancedDisplayEnabled = false;
|
public advancedDisplayEnabled = false;
|
||||||
|
public show_debug_data = false;
|
||||||
|
|
||||||
constructor(
|
constructor(
|
||||||
private fb: FormBuilder,
|
private fb: FormBuilder,
|
||||||
|
Loading…
Reference in New Issue
Block a user