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
Copy file name to clipboardExpand all lines: src/fields/fieldCleave.vue
+5Lines changed: 5 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -43,6 +43,11 @@ export default {
43
43
} else {
44
44
console.warn("Cleave is missing. Please download from https://github.com/nosir/cleave.js/ and load the script in the HTML head section!");
console.warn("Bootstrap datetimepicker library is missing. Please download from https://eonasdan.github.io/bootstrap-datetimepicker/ and load the script and CSS in the HTML head section!");
Copy file name to clipboardExpand all lines: src/fields/fieldPikaday.vue
+8-3Lines changed: 8 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,7 @@
7
7
importmomentfrom"moment";
8
8
import { defaults } from"lodash";
9
9
10
-
let inputFormat ="YYYY-MM-DD HH:mm:ss";
10
+
let inputFormat ="YYYY-MM-DD";
11
11
12
12
exportdefault {
13
13
mixins: [ abstractField ],
@@ -53,7 +53,7 @@
53
53
position:"bottom left", // preferred position of the datepicker relative to the form field, e.g.: `top right`, `bottom right` **Note:** automatic adjustment may occur to avoid datepicker from being displayed outside the viewport, see [positions example][] (default to "bottom left")
54
54
reposition:true, // can be set to false to not reposition datepicker within the viewport, forcing it to take the configured `position` (default: true)
55
55
// container: , // DOM node to render calendar into, see [container example][] (default: undefined)
56
-
//format: , // the default output format for `.toString()` and `field` value (requires [Moment.js][moment] for custom formatting)
56
+
format:inputFormat, // the default output format for `.toString()` and `field` value (requires [Moment.js][moment] for custom formatting)
57
57
// formatStrict: , // the default flag for moment"s strict date parsing (requires [Moment.js][moment] for custom formatting)
58
58
// defaultDate: , // the initial date to view when first opened
59
59
// setDefaultDate: , // make the `defaultDate` the initial selected value
@@ -88,7 +88,12 @@
88
88
console.warn("Pikaday is missing. Please download from https://github.com/dbushell/Pikaday/ and load the script and CSS in the HTML head section!");
console.warn("ion.rangeSlider library is missing. Please download from https://github.com/IonDen/ion.rangeSlider and load the script and CSS in the HTML head section!");
console.warn("Spectrum color library is missing. Please download from http://bgrins.github.io/spectrum/ and load the script and CSS in the HTML head section!");
0 commit comments