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
149
161
150
162
Common two-input configuration with calendar toggles:
151
163
@@ -155,13 +167,22 @@ Common two-input configuration with calendar toggles:
155
167
<igx-picker-toggleigxPrefix>
156
168
<igx-icon>calendar_today</igx-icon>
157
169
</igx-picker-toggle>
170
+
<labeligxLabel>Start Date</label>
158
171
<inputigxInputigxDateTimeEditortype="text" />
172
+
<igx-picker-clearigxSuffix>
173
+
<igx-icon>clear</igx-icon>
174
+
</igx-picker-clear>
159
175
</igx-date-range-start>
176
+
160
177
<igx-date-range-end>
161
178
<igx-picker-toggleigxPrefix>
162
179
<igx-icon>calendar_today</igx-icon>
163
180
</igx-picker-toggle>
181
+
<labeligxLabel>End Date</label>
164
182
<inputigxInputigxDateTimeEditortype="text" />
183
+
<igx-picker-clearigxSuffix>
184
+
<igx-icon>clear</igx-icon>
185
+
</igx-picker-clear>
165
186
</igx-date-range-end>
166
187
</igx-date-range-picker>
167
188
```
@@ -327,7 +348,8 @@ export class MyFormComponent {
327
348
-**Always check `app.config.ts` first** — add `provideAnimations()` before using Combo, Select, Date Picker, or any overlay component
328
349
-**Import from specific entry points** — avoid the root `igniteui-angular` barrel
329
350
- Date/Time pickers implement both `ControlValueAccessor` and `Validator` — they integrate with reactive forms natively
330
-
- For `igx-date-range-picker` with separate start and end inputs, place the inputs directly inside `igx-date-range-start` and `igx-date-range-end`. Use `igx-picker-toggle` if an icon should open the calendar.
351
+
- 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`.
352
+
- Do not use a plain `igx-prefix` / `igx-suffix` icon for calendar or clear actions.
0 commit comments