From 3a72dc6d0d9cb886761c7b8fce4aa639f6d1a088 Mon Sep 17 00:00:00 2001 From: Faris Ansari Date: Thu, 12 Dec 2019 23:10:34 +0530 Subject: [PATCH] fix: Minor fixes - Placeholder in Setup Wizard - Import frappe-chart styles - Destroy popper if it exists - Placeholder for Date --- models/doctype/SetupWizard/SetupWizard.js | 4 +++- src/App.vue | 1 + src/components/DatePicker/DatePicker.vue | 10 ++++++---- src/components/Popover.vue | 2 +- src/pages/SetupWizard/SetupWizard.vue | 8 ++++++-- 5 files changed, 17 insertions(+), 8 deletions(-) diff --git a/models/doctype/SetupWizard/SetupWizard.js b/models/doctype/SetupWizard/SetupWizard.js index 4b623ff5..1f1d55f6 100644 --- a/models/doctype/SetupWizard/SetupWizard.js +++ b/models/doctype/SetupWizard/SetupWizard.js @@ -55,6 +55,7 @@ module.exports = { { fieldname: 'fiscalYearStart', label: 'Fiscal Year Start Date', + placeholder: 'Fiscal Year Start Date', fieldtype: 'Date', formula: doc => { if (!doc.country) return; @@ -72,6 +73,7 @@ module.exports = { { fieldname: 'fiscalYearEnd', label: 'Fiscal Year End Date', + placeholder: 'Fiscal Year End Date', fieldtype: 'Date', formula: doc => { if (!doc.country) return; @@ -111,7 +113,7 @@ module.exports = { 'country', 'currency', 'fiscalYearStart', - 'fiscalYearEnd', + 'fiscalYearEnd' ], layout: { diff --git a/src/App.vue b/src/App.vue index a77f59c6..fc61bbe1 100644 --- a/src/App.vue +++ b/src/App.vue @@ -10,6 +10,7 @@