(value)
| 292 | } |
| 293 | } |
| 294 | function checkFormFieldValueStringCoercion(value) { |
| 295 | { |
| 296 | if (willCoercionThrow(value)) { |
| 297 | error('Form field values (value, checked, defaultValue, or defaultChecked props)' + ' must be strings, not %s.' + ' This value must be coerced to a string before before using it here.', typeName(value)); |
| 298 | |
| 299 | return testStringCoercion(value); // throw (to help callers find troubleshooting comments) |
| 300 | } |
| 301 | } |
| 302 | } |
| 303 | |
| 304 | // A reserved attribute. |
| 305 | // It is handled by React separately and shouldn't be written to the DOM. |
no test coverage detected
searching dependent graphs…