You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/igx-templates/igx-ts/projects/_base/files/__dot__claude/skills/igniteui-angular-components/references/form-controls.md
+50-2Lines changed: 50 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -124,20 +124,66 @@ Implements `ControlValueAccessor` and `Validator`. Works with both reactive and
124
124
> **Docs:**[Date Range Picker](https://www.infragistics.com/products/ignite-ui-angular/angular/components/date-range-picker)
- placing the toggle on only one input unless explicitly requested
162
+
163
+
Common two-input configuration with calendar toggles:
164
+
134
165
```html
135
166
<igx-date-range-picker[(ngModel)]="dateRange">
136
167
<igx-date-range-start>
168
+
<igx-picker-toggleigxPrefix>
169
+
<igx-icon>calendar_today</igx-icon>
170
+
</igx-picker-toggle>
171
+
<labeligxLabel>Start Date</label>
137
172
<inputigxInputigxDateTimeEditortype="text" />
173
+
<igx-picker-clearigxSuffix>
174
+
<igx-icon>clear</igx-icon>
175
+
</igx-picker-clear>
138
176
</igx-date-range-start>
177
+
139
178
<igx-date-range-end>
179
+
<igx-picker-toggleigxPrefix>
180
+
<igx-icon>calendar_today</igx-icon>
181
+
</igx-picker-toggle>
182
+
<labeligxLabel>End Date</label>
140
183
<inputigxInputigxDateTimeEditortype="text" />
184
+
<igx-picker-clearigxSuffix>
185
+
<igx-icon>clear</igx-icon>
186
+
</igx-picker-clear>
141
187
</igx-date-range-end>
142
188
</igx-date-range-picker>
143
189
```
@@ -303,6 +349,8 @@ export class MyFormComponent {
303
349
-**Always check `app.config.ts` first** — add `provideAnimations()` before using Combo, Select, Date Picker, or any overlay component
304
350
-**Import from specific entry points** — avoid the root `igniteui-angular` barrel
305
351
- Date/Time pickers implement both `ControlValueAccessor` and `Validator` — they integrate with reactive forms natively
352
+
- For `igx-date-range-picker` with separate start and end inputs, use this structure for both inputs: `igx-picker-toggle igxPrefix`, then `input igxInput igxDateTimeEditor`, then optional `igx-picker-clear igxSuffix`.
353
+
- Do not use a plain `igx-prefix` / `igx-suffix` icon for calendar or clear actions.
Copy file name to clipboardExpand all lines: packages/igx-templates/igx-ts/projects/_base/files/__dot__claude/skills/igniteui-angular-components/references/setup.md
+1-2Lines changed: 1 addition & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -89,8 +89,7 @@ import { IgxComboComponent } from 'igniteui-angular';
89
89
| Input Group |`igniteui-angular/input-group`|
90
90
| Combo / Simple Combo |`igniteui-angular/combo`|
91
91
| Select |`igniteui-angular/select`|
92
-
| Date Picker |`igniteui-angular/date-picker`|
93
-
| Date Range Picker |`igniteui-angular/date-range-picker`|
92
+
| Date Picker / Date Range Picker |`igniteui-angular/date-picker`|
0 commit comments