This commit is contained in:
2020-02-07 16:39:19 +00:00
parent 87d5ebee76
commit 1a624323b1
2 changed files with 4 additions and 2 deletions

View File

@@ -53,8 +53,7 @@ TODO: LOCALIZATION
- Currency / decimal INPUT handle commas test to see if working fully
- needs to parse the currency, maybe I can cobble that together since the number portion stays the same?? (arabic?)
- INPUT currency / decimal can a german user input a currency as 1.234,56 ? (comma is the decimal separator and decimal is the thousands separator)
- vuetify currency field: https://gist.github.com/Christilut/1143d453ea070f7e8fa345f7ada1b999
- Not vuetify specifically but may have stealable code: https://dm4t2.github.io/vue-currency-input/
- https://dm4t2.github.io/vue-currency-input/guide/#installation
- PARSERS
- Update / test own parser for currency and decimal for validation purposes
- already something in there for currency I think

View File

@@ -11,6 +11,7 @@ import errorHandler from "./api/errorhandler";
import NProgress from "nprogress";
import "nprogress/nprogress.css";
import { DateTime } from "luxon";
import VueCurrencyInput from "vue-currency-input";
import lodash from "./libs/lodash.min.js";
//my libs
@@ -178,6 +179,8 @@ Vue.component("gz-time-picker", timeControl);
Vue.component("gz-tag-picker", tagPicker);
Vue.component("gz-custom-fields", customFieldsControl);
//3rd party components
Vue.use(VueCurrencyInput);
/////////////////////////////////////////////////////////////
//DIRECTIVES
//