MCPcopy Create free account
hub / github.com/cryptii/cryptii / getFieldValues

Method getFieldValues

src/Form.js:144–150  ·  view source on GitHub ↗

* Returns the current field value for each visible form field. * @return {object} Object mapping names to field values

()

Source from the content-addressed store, hash-verified

142 * @return {object} Object mapping names to field values
143 */
144 getFieldValues () {
145 const namedValues = {}
146 this.getVisibleFields().forEach(field => {
147 namedValues[field.getName()] = field.getValue()
148 })
149 return namedValues
150 }
151
152 /**
153 * Applies each field value in given map.

Callers 2

Form.jsFile · 0.80
getSettingValuesMethod · 0.80

Calls 3

getVisibleFieldsMethod · 0.95
getNameMethod · 0.45
getValueMethod · 0.45

Tested by

no test coverage detected