mirror of
https://github.com/ant-design/ant-design.git
synced 2025-01-18 14:13:37 +08:00
chore: improve Input Intl.NumberFormat usage (#37726)
This commit is contained in:
parent
04c6d622e9
commit
3ae7703303
@ -9765,7 +9765,7 @@ exports[`renders ./components/input/demo/tooltip.md extend context correctly 1`]
|
||||
Array [
|
||||
<input
|
||||
class="ant-input"
|
||||
maxlength="25"
|
||||
maxlength="16"
|
||||
placeholder="Input a number"
|
||||
style="width: 120px;"
|
||||
type="text"
|
||||
|
@ -3545,7 +3545,7 @@ exports[`renders ./components/input/demo/textarea-show-count.md correctly 1`] =
|
||||
exports[`renders ./components/input/demo/tooltip.md correctly 1`] = `
|
||||
<input
|
||||
class="ant-input"
|
||||
maxlength="25"
|
||||
maxlength="16"
|
||||
placeholder="Input a number"
|
||||
style="width: 120px;"
|
||||
type="text"
|
||||
|
@ -58,7 +58,7 @@ const NumericInput = (props: NumericInputProps) => {
|
||||
onChange={handleChange}
|
||||
onBlur={handleBlur}
|
||||
placeholder="Input a number"
|
||||
maxLength={25}
|
||||
maxLength={16}
|
||||
/>
|
||||
</Tooltip>
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user