Skip to content

Commit 45443ba

Browse files
committed
Remove deprecation of min and max props in NumberField
1 parent 99a8de6 commit 45443ba

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

.changeset/famous-badgers-dance.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@shopify/ui-extensions': patch
3+
---
4+
5+
NumberField - remove deprecation of min and max props

packages/ui-extensions/src/surfaces/point-of-sale/render/components/NumberField/NumberField.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@ import type {InputProps} from '../shared/InputField';
99
export interface NumberFieldProps extends InputProps {
1010
inputMode?: 'decimal' | 'numeric';
1111
/**
12-
* @deprecated Implement validation logic instead. This prop will be removed in 2025-10.
12+
* The highest decimal or integer to be accepted for the field.
1313
*/
1414
max?: number;
1515
/**
16-
* @deprecated Implement validation logic instead. This prop will be removed in 2025-10.
16+
* The lowest decimal or integer to be accepted for the field.
1717
*/
1818
min?: number;
1919
}

0 commit comments

Comments
 (0)