Skip to content

Commit f78cca9

Browse files
authored
fix: pass disabled prop to input (#511)
1 parent 0d0ca2f commit f78cca9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/AjaxUploader.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -302,6 +302,7 @@ class AjaxUploader extends Component<UploadProps> {
302302
<input
303303
{...pickAttrs(otherProps, { aria: true, data: true })}
304304
id={id}
305+
disabled={disabled}
305306
type="file"
306307
ref={this.saveFileInput}
307308
onClick={e => e.stopPropagation()} // https://github.com/ant-design/ant-design/issues/19948

0 commit comments

Comments
 (0)