Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

input's native "list" property throws error #856

Open
ericvida opened this issue Jul 27, 2023 · 0 comments
Open

input's native "list" property throws error #856

ericvida opened this issue Jul 27, 2023 · 0 comments
Labels

Comments

@ericvida
Copy link
Member

ericvida commented Jul 27, 2023

Description

When i try to use the native list property on input, i get error.

Code to reproduce:

<input #word-picker list="word-options" name="word-picker">
<datalist #word-options>
	<option value="one">
	<option value="two">

Error

client.imba:97 Uncaught TypeError: Cannot set property list of #<HTMLInputElement> which has only a getter
    at _AutoCompleteComponent.render (client.imba:97:22)
    at _AutoCompleteComponent.commit (component.imba:140:13)
    at _AutoCompleteComponent.visit (component.imba:132:3)
    at [#afterVisit] (component.imba:223:3)
    at _App.render (client.imba:74:4)
    at _App.commit (component.imba:140:13)
    at _App.visit (component.imba:132:3)
    at [#afterVisit] (component.imba:223:3)
    at client.imba:221:13

SPEC: mozzila.org

System Environment

Imba fullstack template with express.

@ericvida ericvida added the bug label Jul 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant