-
Notifications
You must be signed in to change notification settings - Fork 3.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(module:input-number): add nzReadOnly property #7372
Conversation
This preview will be available after the AzureCI is passed. |
Codecov Report
@@ Coverage Diff @@
## master #7372 +/- ##
==========================================
- Coverage 91.62% 91.58% -0.04%
==========================================
Files 487 487
Lines 16013 16016 +3
Branches 2604 2605 +1
==========================================
- Hits 14672 14669 -3
- Misses 1027 1035 +8
+ Partials 314 312 -2
Continue to review full report at Codecov.
|
| `[nzFormatter]` | Specifies the format of the value presented | `(value: number \| string) => string \| number` | - | | ||
| `[nzParser]` | Specifies the value extracted from nzFormatter | `(value: string) => string \| number` | `(value: string) => value.trim().replace(/。/g, '.').replace(/[^\w\.-]+/g, '')` | | ||
| `[nzPrecision]` | precision of input value | `number` | - | | ||
| property | description | type | default | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unnecessary whitespace, please check your config of prettier :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
PR Checklist
Please check if your PR fulfills the following requirements:
PR Type
What kind of change does this PR introduce?
What is the current behavior?
Issue Number: #7369
Closes: #7369
What is the new behavior?
Add new property of nzReadOnly
Does this PR introduce a breaking change?
Other information