server
server copied to clipboard
[BUG]: Rework custom input elements
Version Information
1.0.0
Hashcat
No response
Description
With the current custom input components it is very hard or near impossible to implement standard use cases like displaying form errors correctly.
It may be that the abstract base component of these inputs does not correctly implement the Angular ControlValueAccessor API, but it is unclear what the exact issue is:
src/app/shared/input/abstract-input.ts
Currently only native HTML5 errors can be displayed, but not custom validators and also the form state is not propagated correctly leading e.g. to the problem that the required error is shown after form submission where the form should be untouched and pristine again.