@osimatic/helpers-js 1.0.86 → 1.0.87
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/form_helper.js +4 -0
- package/package.json +1 -1
package/form_helper.js
CHANGED
|
@@ -202,6 +202,10 @@ class FormHelper {
|
|
|
202
202
|
form.find('input[type="password"]').wrap('<div class="input-group password"></div>').after(linkTogglePassword);
|
|
203
203
|
}
|
|
204
204
|
|
|
205
|
+
static hideField(inputOrSelect) {
|
|
206
|
+
inputOrSelect.closest('.form-group').addClass('hide');
|
|
207
|
+
}
|
|
208
|
+
|
|
205
209
|
// ------------------------------------------------------------
|
|
206
210
|
// Messages erreur
|
|
207
211
|
// ------------------------------------------------------------
|