Skip to content

[MultiInput]: When in form, pressing Enter submits the form instead of just adding a token #12167

@VictorHumanist

Description

@VictorHumanist

Bug Description

When MultiInput component is placed inside of a

tag, and user presses Enter to add a new token, which is NOT in the suggestions list (or there are no suggestions at all), the form is submitted.

Affected Component

MultiInput

Expected Behaviour

Form is not submitted, a new token appears in the MultiInput.

Isolated Example

https://stackblitz.com/edit/js-ljshnnfv

Steps to Reproduce

  1. Type or paste any text into MultiInput
  2. Press Enter

Log Output, Stack Trace or Screenshots

No response

Priority

Medium

UI5 Web Components Version

2.13.2

Browser

Chrome

Operating System

Windows 11 24H2

Additional Context

Looks similar to #9624

Organization

No response

Declaration

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

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Status

In progress

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions