Skip to content
This repository has been archived by the owner on May 15, 2023. It is now read-only.

Specifying configuration in-place changes global configuration #12

Closed
archseer opened this issue Jan 5, 2018 · 3 comments
Closed

Specifying configuration in-place changes global configuration #12

archseer opened this issue Jan 5, 2018 · 3 comments

Comments

@archseer
Copy link

archseer commented Jan 5, 2018

{{balance | currency("", ",", 6, ".") }}
...
{{amount | currency}}

Now amount is formatted in the same way as balance, but it shouldn't be

@mazipan
Copy link
Owner

mazipan commented Jan 5, 2018

Yes, I see.
What do you expected condition @archseer ?
Is reset to default configuration ?

@archseer
Copy link
Author

archseer commented Jan 5, 2018

Yes, it should always use the default config unless I manually override it for that specific part of the page. Otherwise the display is order dependent (if I refactor the page and rearrange the elements it will suddenly render differently)

mazipan pushed a commit that referenced this issue Jan 5, 2018
@mazipan
Copy link
Owner

mazipan commented Jan 5, 2018

Closed in v2.1.0
Check the demo page here : https://mazipan.github.io/vue-currency-filter/

@mazipan mazipan closed this as completed Jan 5, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants