goodteditor-ui 1.0.38 → 1.0.40

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "goodteditor-ui",
3
- "version": "1.0.38",
3
+ "version": "1.0.40",
4
4
  "main": "index.js",
5
5
  "homepage": "https://goodt-ui.netlify.app/",
6
6
  "scripts": {
@@ -278,9 +278,9 @@ export default {
278
278
  const model = Array.isArray(date) ? date.map(this.toValue) : this.toValue(date);
279
279
  /**
280
280
  * Input event
281
- * @property {String|Array} value
281
+ * @property {String} date
282
282
  */
283
- this.$emit('input', model);
283
+ this.$emit('input', target.value);
284
284
  /**
285
285
  * Change event
286
286
  * @property {String|Array} value
@@ -312,9 +312,9 @@ export default {
312
312
  }
313
313
  /**
314
314
  * Input event
315
- * @property {String|Array} value
315
+ * @property {String} date
316
316
  */
317
- this.$emit('input', model);
317
+ this.$emit('input', target.value);
318
318
  /**
319
319
  * Change event
320
320
  * @property {String|Array} value