meteor-accounts-ui-bootstrap-3
meteor-accounts-ui-bootstrap-3 copied to clipboard
Ability to map language to Custom signup options
Given I can create a custom signup option with the following:
Accounts.ui.config({
requestPermissions: {},
extraSignupFields: [{
fieldName: 'mySignupProperty',
fieldLabel: 'My Signup Property',
inputType: 'text',
visible: true,
validate: function(value, errorFunction) {
if (!value) {
errorFunction("Please enter your sign up property");
return false;
} else {
return true;
}
}
}]
});
Is it possible to map multiple languages to the fieldLabel and error message?