@dereekb/dbx-form 13.11.17 → 13.12.0
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.
|
@@ -1809,7 +1809,7 @@ class DbxForgeFormComponent {
|
|
|
1809
1809
|
@if (configSignal()) {
|
|
1810
1810
|
<form [dynamic-form]="configSignal()!" [(value)]="formValue" [formOptions]="formOptionsSignal()"></form>
|
|
1811
1811
|
}
|
|
1812
|
-
`, isInline: true, dependencies: [{ kind: "component", type: DynamicForm, selector: "form[dynamic-form]", inputs: ["dynamic-form", "formOptions", "value"], outputs: ["valueChange", "validityChange", "dirtyChange", "submitted", "reset", "cleared", "events", "initialized", "onPageChange", "onPageNavigationStateChange"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1812
|
+
`, isInline: true, dependencies: [{ kind: "component", type: DynamicForm, selector: "form[dynamic-form]", inputs: ["dynamic-form", "formOptions", "value", "source"], outputs: ["valueChange", "validityChange", "dirtyChange", "submitted", "reset", "cleared", "events", "initialized", "onPageChange", "onPageNavigationStateChange"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1813
1813
|
}
|
|
1814
1814
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.11", ngImport: i0, type: DbxForgeFormComponent, decorators: [{
|
|
1815
1815
|
type: Component,
|
|
@@ -8426,8 +8426,9 @@ class AbstractForgeSearchableFieldDirective {
|
|
|
8426
8426
|
errorIdSignal = computed(() => `${this.key()}-error`, ...(ngDevMode ? [{ debugName: "errorIdSignal" }] : /* istanbul ignore next */ []));
|
|
8427
8427
|
searchInputPlaceholderSignal = computed(() => {
|
|
8428
8428
|
const p = this.props();
|
|
8429
|
+
const placeholderValue = this.placeholder();
|
|
8429
8430
|
const searchOnEmpty = p?.searchOnEmptyText ?? false;
|
|
8430
|
-
const placeholder = typeof
|
|
8431
|
+
const placeholder = typeof placeholderValue === 'string' ? placeholderValue : undefined;
|
|
8431
8432
|
return placeholder || (searchOnEmpty ? '' : DEFAULT_SEARCH_INPUT_PLACEHOLDER$1);
|
|
8432
8433
|
}, ...(ngDevMode ? [{ debugName: "searchInputPlaceholderSignal" }] : /* istanbul ignore next */ []));
|
|
8433
8434
|
// MARK: Search Results
|