@suntelecoms/ngx-dynamic-form 1.4.1 → 1.4.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1706,14 +1706,16 @@ class DynamicFormComponent {
|
|
|
1706
1706
|
{{ config.resetLabel || 'Réinitialiser' }}
|
|
1707
1707
|
</button>
|
|
1708
1708
|
}
|
|
1709
|
-
|
|
1710
|
-
|
|
1711
|
-
|
|
1712
|
-
|
|
1713
|
-
|
|
1714
|
-
|
|
1715
|
-
|
|
1716
|
-
|
|
1709
|
+
@if (config.showSubmit !== false) {
|
|
1710
|
+
<button
|
|
1711
|
+
type="submit"
|
|
1712
|
+
mat-flat-button
|
|
1713
|
+
color="primary"
|
|
1714
|
+
[disabled]="form.invalid && form.touched"
|
|
1715
|
+
>
|
|
1716
|
+
{{ config.submitLabel || 'Envoyer' }}
|
|
1717
|
+
</button>
|
|
1718
|
+
}
|
|
1717
1719
|
</div>
|
|
1718
1720
|
</form>
|
|
1719
1721
|
`, isInline: true, styles: [".ngx-form-grid{display:grid;grid-template-columns:repeat(12,1fr);gap:1rem;align-items:start}.ngx-form-actions{display:flex;gap:.75rem;justify-content:flex-end;margin-top:1rem;flex-wrap:wrap}@media(max-width:600px){.ngx-form-grid{grid-template-columns:1fr}.ngx-form-actions{flex-direction:column-reverse}}\n"], dependencies: [{ kind: "pipe", type: JsonPipe, name: "json" }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "component", type: DynamicFieldComponent, selector: "ngx-dynamic-field", inputs: ["field", "form", "formAppearance", "formFloatLabel"] }, { kind: "component", type: MatButton, selector: " button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button] ", exportAs: ["matButton"] }] }); }
|
|
@@ -1752,14 +1754,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.25", ngImpo
|
|
|
1752
1754
|
{{ config.resetLabel || 'Réinitialiser' }}
|
|
1753
1755
|
</button>
|
|
1754
1756
|
}
|
|
1755
|
-
|
|
1756
|
-
|
|
1757
|
-
|
|
1758
|
-
|
|
1759
|
-
|
|
1760
|
-
|
|
1761
|
-
|
|
1762
|
-
|
|
1757
|
+
@if (config.showSubmit !== false) {
|
|
1758
|
+
<button
|
|
1759
|
+
type="submit"
|
|
1760
|
+
mat-flat-button
|
|
1761
|
+
color="primary"
|
|
1762
|
+
[disabled]="form.invalid && form.touched"
|
|
1763
|
+
>
|
|
1764
|
+
{{ config.submitLabel || 'Envoyer' }}
|
|
1765
|
+
</button>
|
|
1766
|
+
}
|
|
1763
1767
|
</div>
|
|
1764
1768
|
</form>
|
|
1765
1769
|
`, styles: [".ngx-form-grid{display:grid;grid-template-columns:repeat(12,1fr);gap:1rem;align-items:start}.ngx-form-actions{display:flex;gap:.75rem;justify-content:flex-end;margin-top:1rem;flex-wrap:wrap}@media(max-width:600px){.ngx-form-grid{grid-template-columns:1fr}.ngx-form-actions{flex-direction:column-reverse}}\n"] }]
|