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
- 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.
0 commit comments