Skip to content

Custom ui5 input webcomponent suggestions #1878

@kostadin-kar

Description

@kostadin-kar

Is your feature request related to a problem? Please describe.
We have an interesting use case for the ui5 input webcomponent, specifically the provided suggestions. When we type text, there is a pattern recogniser for certain placeholders. When you enter the placeholder, the suggestions start appearing. The placeholder is segregated into a few different segments, denoting a path. We would like to have different suggestions to pop up when a new segment is reached in the entered path. It is very important that scrolling through or selecting a provided suggestion does not clear or replace the entire input, but only the part that follows

Describe the solution you'd like
If there is a way to prevent the entire entered input from being replaced when selecting a suggestion would be great (e.g. insertion mechanism).

Describe alternatives you've considered
We have considered applying monkey patches to the underlying component code, so as to achieve the desired behaviour. Here are some images

Screenshot 2020-06-29 at 16 15 35

Screenshot 2020-06-29 at 16 15 05

Screenshot 2020-06-29 at 16 13 52

Additional context
Expected behaviour should follow these images:

Screenshot 2020-06-29 at 17 52 24

Screenshot 2020-06-29 at 17 52 35

Screenshot 2020-06-29 at 17 55 30

Screenshot 2020-06-29 at 17 53 21

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions