You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<inputtype="text" list="my-options"><datalistif.bind="type === 'server' id="my-options"><optionrepeat.for="server of servers" value="${server.name}"></datalist><datalistif.bind="type === 'domain' id="my-options"><optionrepeat.for="domain of domains" value="${domain.name}"></datalist>
Only one datalist will ever be rendered, so there should not be a problem with multiple elements having the id "my-options". However, the template linter gives this warning:
WARNING: duplicated id: my-options Ln 5 Col 4 mytemplate.html
The linter should not give a duplicate id warning if all the elements with the same id all have an if.bind.
The text was updated successfully, but these errors were encountered:
I have this construction in my template:
Only one datalist will ever be rendered, so there should not be a problem with multiple elements having the id "my-options". However, the template linter gives this warning:
The linter should not give a duplicate id warning if all the elements with the same id all have an
if.bind
.The text was updated successfully, but these errors were encountered: