jsonforms icon indicating copy to clipboard operation
jsonforms copied to clipboard

Angular - Formcontrol is always touched

Open kasar-NTT opened this issue 6 months ago • 2 comments

Describe the bug

Having any field inside json forms even if it's from angular material renderers or custom component renderers they are always touched, even if the user did not do any action. This can be seen from the: form.touched property that comes from the extended JsonFormsControl class

Expected behavior

The touched property should initially be false when the user did not do any action on the component and turn to true when the user does any action on it

Steps to reproduce the issue

  1. Checkout and start the angular seed: https://github.com/eclipsesource/jsonforms-angular-seed
  2. On the template of: src/app/custom.autocomplete.ts add the: {{ form.touched }} to verify

Screenshots

Image

Image

Which Version of JSON Forms are you using?

v3.5.1

Package

Angular Bindings

Additional context

No response

kasar-NTT avatar Jun 11 '25 09:06 kasar-NTT