Vincent HEMERY

Results 3 comments of Vincent HEMERY

About the validation, the point was to not perform the backend validation (which may cost time) until the value has been fully entered, but still enable some basic frontend validation....

Just for the record: Ajv validation is invoked at https://github.com/eclipsesource/jsonforms/blob/d65d7eb8a5050c6de7a4e086e01237bd2488f64c/packages/core/src/util/renderer.ts#L971 on the data from JsonForms state. The state data is updated by https://github.com/eclipsesource/jsonforms/blob/d65d7eb8a5050c6de7a4e086e01237bd2488f64c/packages/react/src/Control.ts#L54 The user's `onChange` method is invoked by...

> So adding a debounce (from 'lodash') to the onChange function - as @vhemery mentioned first in [eclipse-emfcloud/emfcloud#152](https://github.com/eclipse-emfcloud/emfcloud/discussions/152) seems to be sufficient. And it would be nice if I could...