The above code won’t work. This code does:
validateApiKeyValue(name, value, { data, addError }) {
console.log(`validate ${name} with ${value}`, data);
}
Is the documentation wrong or is the code wrong?
EDIT: I decided that it is, Update 21-form-kit.md by pfaffman · Pull Request #62 · discourse/discourse-developer-docs · GitHub