inertia-bootstrap-forms 1.0.46 → 1.0.48

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": "inertia-bootstrap-forms",
3
- "version": "1.0.46",
3
+ "version": "1.0.48",
4
4
  "description": "Create bootstrap forms with inertia and twitter bootstrap",
5
5
  "main": "dist/inertia-bootstrap-forms.cjs.js",
6
6
  "module": "dist/inertia-bootstrap-forms.es.js",
@@ -126,8 +126,6 @@ export default defineComponent({
126
126
  this.$emit('onError', errors);
127
127
  },
128
128
  onSuccess: (data) => {
129
- this.reset();
130
-
131
129
  if (data?.props?.message) {
132
130
  this.form.hasMessage = true;
133
131
  this.form.successMessage = data?.props?.message;
@@ -94,6 +94,9 @@ export default defineComponent({
94
94
  _this.$emit('update:modelValue', value);
95
95
  });
96
96
  },
97
+ beforeUnmount() {
98
+ this.rangeSliderEn?.destroy();
99
+ },
97
100
  data() {
98
101
  return {
99
102
  rangeSliderEn: null