You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Problem to solve
Please, I want the ability to write a formatter like a compare function, which I enter two of my aliases (currently you can only enter ONE alias which is data) and return a simple compare and return function.
I'm trying to make it with MS Word or LibreOffice Writer's "IF" Functions but they don't work at all.
The text was updated successfully, but these errors were encountered:
Hello @Alexpelillo,
It is not possible yet to pass variables as parameters to a formatter. It is on our 2020 roadmap, I can't tell you yet a specific date. I'm going to set the priority higher for this feature due to the increasing demand ^^.
If you can't wait, feel free to fork and contribute :)
Thanks for you message!
Hi @Alexpelillo, Carbone accepts dynamic variables in all formatters! Carbone passes data to formatters if parameters start with a dot . and is not surrounded by quotes, example: {d.subObject.qtyB:add(.qtyC)}. For the moment, the website documentation is not up to date, check out the changelog with the examples: Changelog
It is only a beta and available on the v2 branch or NPM: npm install carbone@2.0.0-beta.0
Problem to solve
Please, I want the ability to write a formatter like a compare function, which I enter two of my aliases (currently you can only enter ONE alias which is data) and return a simple compare and return function.
I'm trying to make it with MS Word or LibreOffice Writer's "IF" Functions but they don't work at all.
The text was updated successfully, but these errors were encountered: