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
parent
commit
7045aa7d7b
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      components/input-number/index.tsx

1
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,
},

Loading…
Cancel
Save