Skip to content

Comments

feature core/input: validation in input components#2278

Open
1307-Dev wants to merge 73 commits intosiemens:mainfrom
1307-Dev:(feature/core)validation-input-components
Open

feature core/input: validation in input components#2278
1307-Dev wants to merge 73 commits intosiemens:mainfrom
1307-Dev:(feature/core)validation-input-components

Conversation

@1307-Dev
Copy link
Collaborator

@1307-Dev 1307-Dev commented Nov 20, 2025

💡 What is the current behavior?

There are some errors which prevent validations from happening has expected.

GitHub Issue Number: #1799
JIRA: IX-2595

🆕 What is the new behavior?

The acceptance criteria for this ticket has been met-
Required input:

Invalid input > Removing value with keyboard > Stays invalid
Invalid input > Remove touched state (e.g. clear button) > Valid again
Invalid input > Programmatically setting it to empty > Stays invalid
Valid input > Removing value with keyboard > It is invalid
Valid input > Remove touched state (e.g. clear button) > Valid
Valid input > Programmatically setting it to empty > It is invalid
Not required input:

Invalid input > Removing value with keyboard > Valid
Invalid input > Remove touched state (e.g. clear button) > Valid again
Invalid input > Programmatically setting it to empty > Valid
Valid input > Removing value with keyboard > Valid
Valid input > Remove touched state (e.g. clear button) > Valid
Valid input > Programmatically setting it to empty > Valid

Furthermore a clear method has been added to all components to remove all validations and inputs added.

🏁 Checklist

A pull request can only be merged if all of these conditions are met (where applicable):

  • 🦮 Accessibility (a11y) features were implemented
  • 🗺️ Internationalization (i18n) - no hard coded strings
  • 📲 Responsiveness - components handle viewport changes and content overflow gracefully
  • 📕 Add or update a Storybook story
  • 📄 Documentation was reviewed/updated siemens/ix-docs
  • 🧪 Unit tests were added/updated and pass (pnpm test)
  • 📸 Visual regression tests were added/updated and pass (Guide)
  • 🧐 Static code analysis passes (pnpm lint)
  • 🏗️ Successful compilation (pnpm build, changes pushed)

👨‍💻 Help & support

@changeset-bot
Copy link

changeset-bot bot commented Nov 20, 2025

⚠️ No Changeset found

Latest commit: dced46e

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@1307-Dev 1307-Dev marked this pull request as ready for review November 21, 2025 07:52
@1307-Dev 1307-Dev marked this pull request as draft November 28, 2025 11:12
@sonarqubecloud
Copy link

sonarqubecloud bot commented Feb 4, 2026

RamVinayMandal and others added 23 commits February 5, 2026 20:29
…m:1307-Dev/ix into (feature/core)validation-input-components
- Refactored validation logic in DateInput and TimeInput components to utilize new picker methods.
- Introduced context-based picker methods for better state management and validation handling.
- Removed redundant code and improved the structure of input methods for clarity and maintainability.
- Updated event handling to streamline input validation and dropdown interactions.
- Enhanced the common input utilities to support new validation and event handling patterns.
…ate management

- Introduced new utility functions for managing dropdown visibility and input validation.
- Refactored state management in BasePickerInput to improve reactivity and maintainability.
- Added support for class mutation observers to handle dynamic class changes.
- Updated picker input methods to streamline event handling and validation synchronization.
- Created a new types file for picker input to centralize type definitions and improve code clarity.
- Simplified input rendering logic and improved integration with dropdown components.
…m:1307-Dev/ix into (feature/core)validation-input-components
@sonarqubecloud
Copy link

sonarqubecloud bot commented Feb 23, 2026

Quality Gate Passed Quality Gate passed

Issues
0 New issues
4 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
2.0% Duplication on New Code

See analysis details on SonarQube Cloud

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.

5 participants