Skip to content

feat(search-bar): add maxlength input to limit search input length#2017

Merged
kfenner merged 1 commit intomainfrom
feat-search-bar-add-maxlength-input
May 7, 2026
Merged

feat(search-bar): add maxlength input to limit search input length#2017
kfenner merged 1 commit intomainfrom
feat-search-bar-add-maxlength-input

Conversation

@spike-rabbit
Copy link
Copy Markdown
Member

@spike-rabbit spike-rabbit commented May 6, 2026

Adds a maxlength input to the SiSearchBarComponent that allows consumers to define the maximum length of the search input field.

See https://code.siemens.com/simpl/simpl-element/-/work_items/2647


Documentation.
Examples.
Dashboards Demo.
Playwright report.

Coverage Reports:

Code Coverage

@spike-rabbit spike-rabbit requested review from a team as code owners May 6, 2026 08:07
Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request adds a maxlength input to the SiSearchBarComponent and binds it to the underlying input element. Feedback suggests using the numberAttribute transform for the new input to ensure consistent type handling and requires the addition of unit tests to verify the functional change as per the repository style guide.

Comment thread projects/element-ng/search-bar/si-search-bar.component.ts Outdated
Comment thread projects/element-ng/search-bar/si-search-bar.component.ts Outdated
@spike-rabbit spike-rabbit force-pushed the feat-search-bar-add-maxlength-input branch from 27d0179 to f0c9e09 Compare May 6, 2026 08:29
Adds a maxlength input to the SiSearchBarComponent that allows consumers
to define the maximum length of the search input field.
@spike-rabbit spike-rabbit force-pushed the feat-search-bar-add-maxlength-input branch from f0c9e09 to 94aa47e Compare May 6, 2026 08:46
Copy link
Copy Markdown
Member

@kfenner kfenner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

@kfenner kfenner added this pull request to the merge queue May 7, 2026
Merged via the queue into main with commit 6d42511 May 7, 2026
17 checks passed
@kfenner kfenner deleted the feat-search-bar-add-maxlength-input branch May 7, 2026 14:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants