Skip to content

variety of issues after update to version 3.1.0 #1975

@piotretm

Description

@piotretm

Prerequisites

  • I have read the Contributing Guidelines.
  • I have not leaked any internal/restricted information like screenshots, videos, code snippets, links etc.

What happened?

There is a list of issues I've found while migrating to the newest version of the IX. Code to reproduce the issues is available here.

  • Checkbox
  • would be great to have an option to set label position
  • * is missing for the label on <ix-checkbox> also, the label is not in red when invalid (only the group label is marked)
  • Validation
  • as far as I've checked only the ix-input exposes the getValidityState method. For sure it is missing for textarea or number inputs
  • would it be possible to implement a method to validate input/trigger validity state change in case I change the value programmatically?
  • Textarea
  • textarea-rows does not work
  • textarea-width has issues with % - 100% is not taking the full width
  • Icons (I hope this is fine that I put it here, but if not, I can also create a separate issue in ix/icons)
  • I modify all the keys imported from import * as Icons from '@siemens/ix-icons/icons'; to icons names using lodash kebabCase. This translates CamDisk10k to cam-disk-10-k while you have cam-disk-10k or PIDiagram to pi-diagram while you have p-i-diagram. Could you expose a list of names directly or a method that you use to transform the keys to names?
  • it is not possible to use icon rotate-180 (failed request in the console)
  • icons are missing in your documentation
  • using custom SVGs not always works. I think this is related to the fact that you directly use decodeURI without encodeURI first and if the SVG includes special characters like % it failed. For me the issue is an SVG with a code like that ...<filter x="-63.3%" y="-63.3%" width="226.5%" height="226.5%" filterUnits="objectBoundingBox" id="gblur"> ... </filter>... If I remove the attributes with % it works.
  • Number input
  • empty input returns 0 (I think it should return null/undefined if there is no value)
  • Select
  • aria-label for dropdown and clear buttons is set to Unknown
  • Imports
  • I am not able anymore to import ToastPosition (previously available in @siemens/ix/dist/types/components/toast/toast-utils) and TypedEvent from @siemens/ix/dist/types/components/utils/typed-event. Could you please export those types again?

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

JavaScript

Which version of iX do you use?

v3.1.0

Code to produce this issue.

https://stackblitz.com/edit/wkqwmnnq?file=src%2Findex.html

Metadata

Metadata

Labels

BacklogIts part of the team backlogtriageWe discuss this topic in our internal weekly

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions