Using setFieldMeta with a dynamic field identifier
For context I am returning some errors from the sever, these errors have the same field name as the fields in the original form, I can use something like
formApi.setFieldMeta("email",
formApi.setFieldMeta("email",
where the field is statically defined but of the life of me i can figure out how it can accept a variable key that is a string of the name of the field I want to add the custom error to.