I think the documentation is pretty clear that you have to use your form values as a type.
type FormValues = {
'translation.cz.name': string
}
type FormInputProps = {
control: Control<FormValues>
// ...
}
Though I hope I don’t have to tell you that if this “translation.cz.name” string is replaceable, your form processing logic will find itself in trouble. The name
attribute is not supposed to be exposed to the end user, so there is absolutely no need to localise it.
Anyway, if you need more help than that, please provide a minimal reproducible example, preferably in codesandbox.io. There is a lot of code in your question, but we can’t actually run any of it.
CLICK HERE to find out more related problems solutions.