File tree Expand file tree Collapse file tree 2 files changed +5
-0
lines changed
packages/components/src/components/input Expand file tree Collapse file tree 2 files changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -215,6 +215,7 @@ export default function DBInput(props: DBInputProps) {
215
215
id = { state . _id }
216
216
name = { props . name }
217
217
type = { props . type || 'text' }
218
+ multiple = { getBoolean ( props . multiple , 'multiple' ) }
218
219
placeholder = { props . placeholder ?? DEFAULT_PLACEHOLDER }
219
220
disabled = { getBoolean ( props . disabled , 'disabled' ) }
220
221
required = { getBoolean ( props . required , 'required' ) }
Original file line number Diff line number Diff line change @@ -51,6 +51,10 @@ export type DBInputDefaultProps = {
51
51
* Add a custom id to [data list](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/datalist) if you're using `dataList` attribute.
52
52
*/
53
53
dataListId ?: string ;
54
+ /**
55
+ * Allow selecting multiple files. https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/input/file#multiple
56
+ */
57
+ multiple ?: boolean | string ;
54
58
/**
55
59
* Maximum value
56
60
*/
You can’t perform that action at this time.
0 commit comments