MCPcopy
hub / github.com/plotly/dash / checkFormFieldValueStringCoercion

Function checkFormFieldValueStringCoercion

dash/deps/react-dom@18.2.0.js:294–302  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

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.

Callers 2

getToStringValueFunction · 0.70
trackValueOnNodeFunction · 0.70

Calls 4

willCoercionThrowFunction · 0.70
errorFunction · 0.70
typeNameFunction · 0.70
testStringCoercionFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…