Core
useField()

useField

TODO

  • Write documentation

Hooks methods

βœ… setValue() πŸ§ͺ

✨ setIsTouched() πŸ§ͺ

❓ validating.start() & validating.end()

Hook values

βœ… value

❓ valueDebounced

βœ… id

βœ… isValid πŸ§ͺ

✨ isTouched πŸ§ͺ

βœ… isValidating πŸ§ͺ

✨ isDebouncing πŸ§ͺ

✨ isProcessing πŸ§ͺ

✨ isReady πŸ§ͺ

βœ… isPristine πŸ§ͺ

βœ… isSubmitted

✨ shouldDisplayError

βœ… errorMessage

βœ… errorMessages

🚧 resetKey

Hook extra values

βœ… otherProps


Field props

βœ… name *

βœ… defaultValue πŸ§ͺ

❌ keepValue

βœ… formatValue(fieldValue)

βœ… onChange(fieldValue) ➑️ onValueChange(value, formattedValue)

βœ… required

βœ… debounce ➑️ debounceValidationsAsync

βœ… validations

βœ… asyncValidations ➑️ validationsAsync


Field config

✨ formatValue

✨ required

✨ validations

✨ validationsAsync

✨ debounceValidationsAsync

✨ unstable_notifyOnChangePropsExclusions