siemens / ix

Siemens Industrial Experience is a design system for designers and developers, to consistently create the perfect digital experience for industrial software products.
https://ix.siemens.io/
MIT License
174 stars 62 forks source link

[IxSelect] Form validation styles are broken #1290

Open tiagogviegas opened 1 month ago

tiagogviegas commented 1 month ago

Prerequisites

What happened?

IxSelect component form validation styling is broken. Error message styling is different from input element.

image

What type of frontend framework are you seeing the problem on?

JavaScript

Which version of iX do you use?

v2.2.1

Code to produce this issue.

<form class="was-validated" style="width: 400px">
    <div style="margin-bottom: 24px">
      <input type="text" class="is-invalid" />
      <div class="invalid-feedback">Error Message</div>
    </div>

    <div>
      <ix-select class="is-invalid" style="width: 100%">
        <ix-select-item class="" label="Option 1" value="1"></ix-select-item>
        <ix-select-item class="" label="Option 2" value="2"></ix-select-item>
      </ix-select>
      <div class="invalid-feedback">Error Message</div>
    </div>
</form>
github-actions[bot] commented 1 month ago

🤖 Hello @tiagogviegas

Your issue will be analyzed and is part of our internal workflow. To get informed about our workflow please checkout the Contributing Guidelines

JIRA: IX-903