MCPcopy Create free account
hub / github.com/caseywebdev/react-list / coerceFormActionProp

Function coerceFormActionProp

docs/index.js:15003–15011  ·  view source on GitHub ↗
(actionProp)

Source from the content-addressed store, hash-verified

15001 return currentEventTransitionLane;
15002}
15003function coerceFormActionProp(actionProp) {
15004 return null == actionProp ||
15005 "symbol" === typeof actionProp ||
15006 "boolean" === typeof actionProp
15007 ? null
15008 : "function" === typeof actionProp
15009 ? actionProp
15010 : sanitizeURL("" + actionProp);
15011}
15012function createFormDataWithSubmitter(form, submitter) {
15013 var temp = submitter.ownerDocument.createElement("input");
15014 temp.name = submitter.name;

Callers 1

extractEvents$1Function · 0.85

Calls 2

sanitizeURLFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…