I’m working in an Angular project that uses a number of the JQWidgets components. In working with the jqxDateTimeInput as part of an Angular FormGroup, I found that it is not marked as touched when a user focuses and then blurs the input. This was not the behavior that I expected.
When I looked in the source code, I found that while the DateTimeInput does implement the registerOnTouched method of the ControlValueAccessor interface, it never calls the onTouchedCallback. And upon investigating other JQWidgets components that implement the ControlValueAccessor interface, I found that they behave similarly.
In my own project, I’ve found a way to work around this limitation, but I’m just wondering if anyone could shed light on why the components are designed this way. Why not mark them as touched when a user interacts with them? Thanks!