Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Form Validation error message not showing correctly in input-group #21159

Open
1 task done
eswstation opened this issue Oct 23, 2024 · 0 comments
Open
1 task done

Form Validation error message not showing correctly in input-group #21159

eswstation opened this issue Oct 23, 2024 · 0 comments

Comments

@eswstation
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

Description

When using Input-Group inside a form, the error message comes between the input and the button, if the button is set at the end of the input group
image

Reproduction Steps

<form [formGroup]="filterForm">
        <div class="input-group">
          <input type="search" class="form-control" placeholder="Search Here" id="filterText" (keyup.enter)="onFilterChange()" formControlName="filtersFilter"/>
          <button type="submit" class="btn btn-primary" (click)="onFilterChange()" title="Search">
            <i class="fa fa-search"></i>
          </button>
        </div>
        </form>

Expected behavior

The validation message should not break the layout of input-group and should come below it

Actual behavior

The validation message shows between the input and button of an input-group and breaks the layout

Regression?

No response

Known Workarounds

using skipValidations on the specific input and manually adding validation message.

`

Input exceeds max length
`

Version

8.2.0

User Interface

Angular

Database Provider

EF Core (Default)

Tiered or separate authentication server

None (Default)

Operation System

Windows (Default)

Other information

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants