Skip to content

Commit 327dd47

Browse files
authored
feat(form): bump ng-zorro 19 (#1864)
1 parent be8606e commit 327dd47

File tree

3 files changed

+9
-2
lines changed

3 files changed

+9
-2
lines changed

packages/form/src/widgets/number/number.widget.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ import { ControlUIWidget } from '../../widget';
1313
[error]="error"
1414
[showTitle]="schema.title"
1515
>
16-
min - {{ min }}, {{ max }}
1716
<nz-input-number
1817
[nzId]="id"
1918
[ngModel]="value"

packages/form/widgets/cascader/schema.ts

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
import { SFUISchemaItem } from '@delon/form';
2-
import { NzCascaderExpandTrigger, NzCascaderOption, NzShowSearchOptions } from 'ng-zorro-antd/cascader';
2+
import type {
3+
NzCascaderExpandTrigger,
4+
NzCascaderOption,
5+
NzCascaderPlacement,
6+
NzShowSearchOptions
7+
} from 'ng-zorro-antd/cascader';
38
import { NgStyleInterface, NzSafeAny } from 'ng-zorro-antd/core/types';
49

510
import type { CascaderWidget } from './widget';
@@ -14,6 +19,8 @@ export interface SFCascaderWidgetSchema extends SFUISchemaItem {
1419
*/
1520
placeholder?: string;
1621

22+
placement?: NzCascaderPlacement;
23+
1724
/**
1825
* 是否支持搜索,默认:`false`
1926
*/

packages/form/widgets/cascader/widget.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ import type { SFCascaderWidgetSchema } from './schema';
3636
[nzValueProperty]="ui.valueProperty || 'value'"
3737
[nzLoadData]="loadData"
3838
[nzPlaceHolder]="ui.placeholder!"
39+
[nzPlacement]="ui.placement ?? 'bottomLeft'"
3940
[nzShowArrow]="showArrow"
4041
[nzShowInput]="showInput"
4142
[nzShowSearch]="ui.showSearch!"

0 commit comments

Comments
 (0)