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
// import { IgxDateTimeEditorDirective, IGX_INPUT_GROUP_DIRECTIVES } from '@infragistics/igniteui-angular'; for licensed package
133
+
```html
134
+
<igx-date-range-picker[(ngModel)]="dateRange">
135
+
<igx-date-range-start>
136
+
<inputigxInputigxDateTimeEditortype="text" />
137
+
</igx-date-range-start>
138
+
<igx-date-range-end>
139
+
<inputigxInputigxDateTimeEditortype="text" />
140
+
</igx-date-range-end>
141
+
</igx-date-range-picker>
132
142
```
133
143
144
+
>[!NOTE]
145
+
> `IgxDateRangePickerComponent` is imported from `igniteui-angular/date-picker`.
146
+
> In the two-input configuration, place the `input` directly inside `igx-date-range-start` and `igx-date-range-end`.
147
+
> To open the calendar from an icon, use `igx-picker-toggle`.
148
+
> Do not wrap the inputs in an additional `igx-input-group`.
149
+
150
+
Common two-input configuration with calendar toggles:
151
+
134
152
```html
135
153
<igx-date-range-picker[(ngModel)]="dateRange">
136
154
<igx-date-range-start>
155
+
<igx-picker-toggleigxPrefix>
156
+
<igx-icon>calendar_today</igx-icon>
157
+
</igx-picker-toggle>
137
158
<inputigxInputigxDateTimeEditortype="text" />
138
159
</igx-date-range-start>
139
160
<igx-date-range-end>
161
+
<igx-picker-toggleigxPrefix>
162
+
<igx-icon>calendar_today</igx-icon>
163
+
</igx-picker-toggle>
140
164
<inputigxInputigxDateTimeEditortype="text" />
141
165
</igx-date-range-end>
142
166
</igx-date-range-picker>
@@ -303,6 +327,7 @@ export class MyFormComponent {
303
327
-**Always check `app.config.ts` first** — add `provideAnimations()` before using Combo, Select, Date Picker, or any overlay component
304
328
-**Import from specific entry points** — avoid the root `igniteui-angular` barrel
305
329
- 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.
0 commit comments