Skip to content
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

Formats are not executen in the order #18

Closed
rappen opened this issue Aug 2, 2022 · 0 comments
Closed

Formats are not executen in the order #18

rappen opened this issue Aug 2, 2022 · 0 comments
Assignees
Labels
bug Something isn't working XRM Tokens

Comments

@rappen
Copy link
Owner

rappen commented Aug 2, 2022

If one attribute has more than one formats, they are anways executen in the hard coded order, not as written from left to right.
Using this order:

private static List<string> extraFormatTags = new List<string>() { "MaxLen", "Pad", "Left", "Right", "Trim", "TrimStart", "TrimEnd", "SubStr", "Replace", "Math" };

It has to be done the written order.

@rappen rappen added bug Something isn't working XRM Tokens labels Aug 2, 2022
@rappen rappen self-assigned this Aug 2, 2022
@rappen rappen closed this as completed in 08228d2 Aug 2, 2022
@rappen rappen changed the title Formats are notexecuten in the order Formats are not executen in the order Aug 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working XRM Tokens
Projects
None yet
Development

No branches or pull requests

1 participant