arco-design-vue
arco-design-vue copied to clipboard
input-number readOnly cannnot render suffix
trafficstars
- [x] I'm sure this does not appear in the issue list of the repository
Basic Info
- Package Name And Version: @arco-design/[email protected]
- Framework version: Vue
- Browser: chrome135.0.0.0
Steps to reproduce
input-number cannot render suffix on read-only. This is very unreasonable. You can provider hide props but not default. This part of the source code is very bad
const renderSuffix = () => {
if (props.readOnly) {
return null;
}
return (xxx)
}
<!--- Disclaimer: Submitting offensive issues will result in being blocked from arco-design organization. -->
<!-- generated by arco-issue. DO NOT REMOVE -->