react-hook-form 7.34.0 → 7.35.0-next.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -419,15 +419,19 @@ function useController(props) {
419
419
  formState,
420
420
  fieldState: Object.defineProperties({}, {
421
421
  invalid: {
422
+ enumerable: true,
422
423
  get: () => !!get(formState.errors, name),
423
424
  },
424
425
  isDirty: {
426
+ enumerable: true,
425
427
  get: () => !!get(formState.dirtyFields, name),
426
428
  },
427
429
  isTouched: {
430
+ enumerable: true,
428
431
  get: () => !!get(formState.touchedFields, name),
429
432
  },
430
433
  error: {
434
+ enumerable: true,
431
435
  get: () => get(formState.errors, name),
432
436
  },
433
437
  }),