Skip to content

Commit a11a592

Browse files
Merge pull request #16474 from IgniteUI/mkirkova/api-date-time-editor-16385
Add API docs for input type requirement IgxDateTimeEditor
2 parents 9e40815 + 2ac1e3b commit a11a592

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

projects/igniteui-angular/directives/src/directives/date-time-editor/date-time-editor.directive.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,10 @@ import { noop } from 'rxjs';
3434
* Supports display format that may differ from the input format.
3535
* Provides methods to increment and decrement any specific/targeted `DatePart`.
3636
*
37+
* **Note:** This directive uses the Mask Directive internally and requires `type="text"` on the input element.
38+
* Input elements with `type="date"` or other date/time types are not supported, as they do not allow
39+
* programmatic cursor positioning and text selection required for mask functionality.
40+
*
3741
* @example
3842
* ```html
3943
* <igx-input-group>

0 commit comments

Comments
 (0)