diff --git a/ayanova/devdocs/todo.txt b/ayanova/devdocs/todo.txt index e41870d4..ee6cb3bc 100644 --- a/ayanova/devdocs/todo.txt +++ b/ayanova/devdocs/todo.txt @@ -10,9 +10,9 @@ MISC ITEMS THAT CAME UP ## CLIENT MISC ITEMS - -todo: clicking into a decimal field with zero in it already and then clicking out causes the record to be dirty - see tax-code for example +todo: clicking into a decimal field and then clicking out causes the record to be dirty + see tax-code or widget for example + todo: standardize routes and route names and form names Use plural and singular names throughout for consistency i.e. "-edit" forms shoudl be standardized to just th singular name so "part-assembly-edit" sb "part-assembly" diff --git a/ayanova/src/components/currency-control.vue b/ayanova/src/components/currency-control.vue index 73562a90..bf6ac81a 100644 --- a/ayanova/src/components/currency-control.vue +++ b/ayanova/src/components/currency-control.vue @@ -31,8 +31,8 @@ export default { }; }, props: { - label: String, - rules: Array, + label: { type: String, default: null }, + rules: { type: Array, default: null }, value: { type: Number, default: null }, readonly: { type: Boolean, default: false }, disabled: { type: Boolean, default: false },