aw-front-helpers 2.5.8 → 2.5.10

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.
@@ -94,6 +94,10 @@ export default class FormControl {
94
94
  });
95
95
  }
96
96
 
97
+ update() {
98
+ this._formGrabDom();
99
+ }
100
+
97
101
  removeErrors(el = null) {
98
102
  this._removeError(el);
99
103
  }
@@ -256,8 +260,8 @@ export default class FormControl {
256
260
  _formGrabDom() {
257
261
  /** @private */
258
262
  this._domForm = {};
259
- this._domForm.inputs = [...this._form.querySelectorAll('input[type=text],input[type=number],input[type=password],input[type=hidden],input[type=search],input[type=email],input[type=tel],input[type=file],textarea')];
260
- this._domForm.choices = [...this._form.querySelectorAll('select, input[type=radio],input[type=checkbox]')];
263
+ this._domForm.inputs = [...this._form.querySelectorAll('input[type=text],input[type=number],input[type=password],input[type=hidden],input[type=search],input[type=email],input[type=tel],textarea')];
264
+ this._domForm.choices = [...this._form.querySelectorAll('select, input[type=radio],input[type=checkbox],input[type=file]')];
261
265
  this._domForm.els = [...this._domForm.inputs, ...this._domForm.choices];
262
266
  }
263
267
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aw-front-helpers",
3
- "version": "2.5.8",
3
+ "version": "2.5.10",
4
4
  "description": "Assets helpers for projects",
5
5
  "author": "Yoann Le Poupon",
6
6
  "license": "ISC",