MCPcopy
hub / github.com/autoNumeric/autoNumeric / formUnformat

Method formUnformat

src/AutoNumeric.js:3317–3324  ·  view source on GitHub ↗

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

()

Source from the content-addressed store, hash-verified

3315 * @returns {AutoNumeric}
3316 */
3317 formUnformat() { //FIXME test this
3318 const inputs = this.constructor._getChildANInputElement(this.form());
3319 inputs.forEach(input => {
3320 AutoNumeric.getAutoNumericElement(input).unformat();
3321 });
3322
3323 return this;
3324 }
3325
3326 /**
3327 * Unformat all the autoNumeric-managed elements that are a child of the parent <form> element of this DOM element, to localized strings

Callers 2

Calls 4

formMethod · 0.95
unformatMethod · 0.80
getAutoNumericElementMethod · 0.80

Tested by

no test coverage detected