Skip to content

utils/formValuePath ​

Overview ​

Converts a dotted public field/filter identity into the literal, non-nesting path useForm's lodash-based value storage addresses it by.

Methods ​

  • toFlatValuePath - The path to store a field's value under in useForm's state.values (and its sibling maps: initialValues, errors, touched, ...), given its dotted public identity.

Source ​

client/lib/utils/formValuePath.js:1