same:attribute rule not respecting label aliases
See original GitHub issueIssue with same:attribute rule not respecting label aliases.
Code
let validator = new Validator(
{
aEmail: this.aEmail,
aEmail2: this.aEmail2,
}, {
aEmail: 'required|email',
aEmail2: 'same:aEmail',
}
)
validator.setAttributeNames({
aEmail: 'email',
aEmail2: 'repeated email',
})
Error:
Label should not say aEmail.
Issue Analytics
- State:
- Created 7 years ago
- Comments:7
Top Results From Across the Web
same:attribute rule not respecting label aliases · Issue #138 ... - GitHub
Issue with same:attribute rule not respecting label aliases. Code let validator = new Validator( { aEmail: this.aEmail, aEmail2: this.
Read more >Attributes and Aliasing - Datadog Docs
Standard attributes cannot be aliased. Attributes can only be aliased to standard attributes. To respect the JSON structure of logs, it is not...
Read more >Using label elements to associate text labels with form controls
A label is attached to a specific form control through the use of the for attribute. The value of the for attribute must...
Read more >General Rules | Bazel
The alias rule has its own visibility declaration. In all other respects, it behaves like the rule it references (e.g. testonly on the...
Read more >Define feature class properties—ArcGIS Pro | Documentation
Having two feature classes with the same name in the same geodatabase, ... Feature class or table names with the following prefixes are...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@robclancy released on 3.13.6
I just replied on that PR asking the author to add some tests since I’m not clear what those changes were for. It has been awhile since I’ve worked on this library and the last thing I want to do is start breaking things.