Browse Source
fix: repeat a css class in readOnly, which has been declared in rc-input-number (#36120)
Co-authored-by: afc163 <afc163@gmail.com>
pull/36143/head
RainyLiao
2 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
0 additions and
1 deletions
-
components/input-number/index.tsx
|
|
@ -90,7 +90,6 @@ const InputNumber = React.forwardRef<HTMLInputElement, InputNumberProps>((props, |
|
|
|
[`${prefixCls}-lg`]: mergeSize === 'large', |
|
|
|
[`${prefixCls}-sm`]: mergeSize === 'small', |
|
|
|
[`${prefixCls}-rtl`]: direction === 'rtl', |
|
|
|
[`${prefixCls}-readonly`]: readOnly, |
|
|
|
[`${prefixCls}-borderless`]: !bordered, |
|
|
|
[`${prefixCls}-in-form-item`]: isFormItemInput, |
|
|
|
}, |
|
|
|