Skip to content

[Input]: Input component does not take id into consideration #12815

@anichkasam

Description

@anichkasam

Describe the bug

Input component does not accept id attribute, and instead sets id="inner" to the wrapped input HTML element. That's why when I have have several Input components in a form, I get the following warning in the browser's console:

[DOM] Found 7 elements with non-unique id #inner: (More info: https://goo.gl/9p2vKq)

Isolated Example

No response

Reproduction steps

...

Expected Behaviour

Input component accepts id and sets that value to the id attribute of the input HTML Element.

Screenshots or Videos

No response

UI5 Web Components for React Version

Input

UI5 Web Components Version

2.15.3

Browser

Chrome

Operating System

No response

Additional Context

No response

Relevant log output

Organization

No response

Declaration

  • I’m not disclosing any internal or sensitive information.

Metadata

Metadata

Assignees

Labels

Type

Projects

Status

In progress

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions