Skip to content

Commit 1deea49

Browse files
committed
Add list fix
1 parent 45e181a commit 1deea49

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "jderobot-ide-interface",
3-
"version": "0.1.40",
3+
"version": "0.1.41",
44
"main": "dist/main.js",
55
"typings": "dist/index.d.ts",
66
"files": [

src/components/Modals/Modal.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -315,12 +315,13 @@ export const ModalInputDropdown = ({
315315
ref={ref}
316316
id={id}
317317
name={id}
318+
list={id + '-list'}
318319
onChange={onChange}
319320
placeholder={placeholder}
320321
{...props}
321322
/>
322323
<label htmlFor={id}>{placeholder}</label>
323-
<datalist>
324+
<datalist id={id + '-list'}>
324325
{entries && entries.map((name) => <option value={name} />)}
325326
</datalist>
326327
{description && <div>{description}</div>}

0 commit comments

Comments
 (0)