Skip to content
This repository was archived by the owner on Jan 7, 2022. It is now read-only.
This repository was archived by the owner on Jan 7, 2022. It is now read-only.

Elements with non-unique id #202

@mabarbeau

Description

@mabarbeau

Description:

If you create a Datetime.vue component, but don't provided an inputId, you get a console warning.

[DOM] Found 7 elements with non-unique id #: (More info: https://goo.gl/9p2vKq) 
<input id type=​"text" class=​"vdatetime-input">​ 
<input id type=​"text" class=​"vdatetime-input">​ 
<input id type=​"text" class=​"vdatetime-input">​ 
<input id type=​"text" class=​"vdatetime-input">​ 
<input id type=​"text" class=​"vdatetime-input">​
<input id type=​"text" placeholder=​"Select date" class=​"vdatetime-input my-input-class">​ 
<input id type=​"text" class=​"vdatetime-input">​

Steps To Reproduce:

Goto: https://mariomka.github.io/vue-datetime/
Open the console

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions