ChangeOrder doesn't set desired priorities
See original GitHub issueGeneral information
- Library version: v8.2.0
Issue description
I added a custom card (custom-card
) with some validator closely related to Maestro, then I changed my custom-card
order to position 0 but I still get maestro coming up as the card type.
I debugged using Validate.creditCardType('')
, and I was able to verify that my custom-card
was in position 0.
Thanks for the awesome library. Looking forward to getting some feedback.
Issue Analytics
- State:
- Created 4 years ago
- Comments:6 (6 by maintainers)
Top Results From Across the Web
A Better Way to Set Strategic Priorities
A better way to establish priorities is to put rank ordering aside and return to first principles. To wit: There are three interdependent ......
Read more >Processing conversation with priority order - rusanu.com
If you do use related conversations, I really cannot see a situation when one priority is desired for a conversation in the group...
Read more >How to Rank and Set Strategic Priorities | HighGear
Perhaps the best way to remain agile and establish priorities within a changing environment is to start at the top with executive and...
Read more >Filter order in spring-boot - java - Stack Overflow
It should go last. From JavaDoc of @Order: Lower values have higher priority. The default value is Ordered.LOWEST_PRECEDENCE, indicating lowest priority (losing ...
Read more >Solved: rank and priority sorting - Jira - Atlassian Community
Solved: Hi, The backlog is ordered by default by rank and we have the rank functionnality to have the drag n drop functionnality....
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
This is expected behavior for card validator.
It will only mark something as valid when it determines that there is only one possible card type. Since
506
can match either maestro or your custom card, that’s the expected outcome. Sounds like you need to make your custom card more specific for what ranges it supports (and possibly update the maestro card pattern as well)Thanks 😃