MCPcopy
hub / github.com/autoNumeric/autoNumeric / formUnformatLocalized

Method formUnformatLocalized

src/AutoNumeric.js:3331–3338  ·  view source on GitHub ↗

* Unformat all the autoNumeric-managed elements that are a child of the parent element of this DOM element, to localized strings * * @returns {AutoNumeric}

()

Source from the content-addressed store, hash-verified

3329 * @returns {AutoNumeric}
3330 */
3331 formUnformatLocalized() { //FIXME test this
3332 const inputs = this.constructor._getChildANInputElement(this.form());
3333 inputs.forEach(input => {
3334 AutoNumeric.getAutoNumericElement(input).unformatLocalized();
3335 });
3336
3337 return this;
3338 }
3339
3340 /**
3341 * Reformat all the autoNumeric-managed elements that are a child of the parent <form> element of this DOM element

Callers 1

formSubmitLocalizedMethod · 0.95

Calls 4

formMethod · 0.95
unformatLocalizedMethod · 0.80
getAutoNumericElementMethod · 0.80

Tested by

no test coverage detected