Skip to content

[SAP]: Needing "search" as an input type for the Input component #7641

@emilylian-sap

Description

@emilylian-sap

Is your feature request related to a problem?

On iOS devices, we expect the native keyboard to display the "search" button when the user starts typing in the input. However, currently, it the keyboard shows "return" rather than "search". This is because iOS fails to detect the input as a search input if inputType is not set to "search". ui5wcr Input component does have a "type" property which allows the consumer to define the input type but it only has the options "Email, Number, Passward etc" and "search" is missing from that list.
https://sap.github.io/ui5-webcomponents-react/?path=/docs/inputs-input--docs
File
The Combobox component also shares the same issue. The input component inside the combobox acts like a search bar so it should have input type "search".
https://sap.github.io/ui5-webcomponents-react/?path=/docs/inputs-combobox--docs
IMG_4087

Describe the solution you'd like

Adding "search" to the list of input type options for the Input component would allow iOS to detect Input components used as search bars and display the correct button on its keyboard. The input type for the input field inside combobox should be "search", or expose an api to allow consumers to define the input type.

Describe alternatives you've considered

No response

Additional Context

No response

Declaration

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

Metadata

Metadata

Assignees

Type

No type

Projects

Status

Completed

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions