* Applies each field value in given map. * @param {object} namedValues Map of names pointing to field values * @throws {Error} If no field is assigned to given field name. * @return {Form} Fluent interface
(namedValues)
| 156 | * @return {Form} Fluent interface |
| 157 | */ |
| 158 | setFieldValues (namedValues) { |
| 159 | for (const name in namedValues) { |
| 160 | this.setFieldValue(name, namedValues[name]) |
| 161 | } |
| 162 | return this |
| 163 | } |
| 164 | |
| 165 | /** |
| 166 | * Returns the field factory used upon field creation inside the form. |
no test coverage detected