-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
data-as alternative #8
Comments
@dionysiosarvanitis I think I prefer what you suggested, I will work on it in the next couple of days. I would keep |
That would be great! You should definitely keep |
Okay I just tagged a release (1.0.0-beta.0 and 2.0.0-beta.6) with this, I changed the structure to be more appropriate: const dictionary = {
en: {
messages: {
email: () => 'Some English Message',
},
attributes: {
email: 'Email Address'
}
},
ar: { ... }
}; |
Better that way! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Instead of using
data-as
for the field names substitution it would be more handy if we could just use a dedicatedattributes
array inside dictionary. This is the Laravel's approach to this.The text was updated successfully, but these errors were encountered: