Skip to content

Commit b024805

Browse files
committed
chore(date-time-editor): add API docs for input type requirement
1 parent f83cc06 commit b024805

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

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

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

0 commit comments

Comments
 (0)