refactor(input-group): add styling support for more input types#17270
Open
simeonoff wants to merge 5 commits into
Open
refactor(input-group): add styling support for more input types#17270simeonoff wants to merge 5 commits into
simeonoff wants to merge 5 commits into
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
Adds styling support in igx-input-group for native date/time-like input types to prevent label/placeholder overlap (Issue #17156), and updates the showcase to demonstrate the newly supported types.
Changes:
- Updated the Input Group showcase sample to include
date,time,datetime-local,month, andweeknative input types (and adjusted defaults). - Extended Material/Bootstrap input-group styling selectors to account for date/time-like inputs (label/notch behavior, disabled text coloring).
- Introduced
color-schemepropagation based on theme variant to better align native control rendering with theme mode.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| src/app/input-group-showcase/input-group-showcase.sample.ts | Expands the demo’s selectable native input types and adjusts default selections. |
| projects/igniteui-angular/core/src/core/styles/components/input/_input-group-theme.scss | Adds styling rules for date/time-like native inputs to avoid label overlap and improve visual consistency. |
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
4 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #17156
Description
This PR adds minimal styling support for input types
date,time,datetime-local,month, andweekin the context of theigx-input-groupcomponent.Type of Change (check all that apply):
Component(s) / Area(s) Affected:
The only affected component is the Input Group.
How Has This Been Tested?
Checklist:
feature/README.MDupdates for the feature docsREADME.MDCHANGELOG.MDupdates for newly added functionalityng updatemigrations for the breaking changes (migrations guidelines)