* Reformat all the autoNumeric-managed elements that are a child of the parent element of this DOM element * * @returns {AutoNumeric}
()
| 3343 | * @returns {AutoNumeric} |
| 3344 | */ |
| 3345 | formReformat() { //FIXME test this |
| 3346 | const inputs = this.constructor._getChildANInputElement(this.form()); |
| 3347 | inputs.forEach(input => { |
| 3348 | AutoNumeric.getAutoNumericElement(input).reformat(); |
| 3349 | }); |
| 3350 | |
| 3351 | return this; |
| 3352 | } |
| 3353 | |
| 3354 | /** |
| 3355 | * Convert the input values to numeric strings, submit the form, then reformat those back. |
no test coverage detected