{"record":{"id":"4713462fdb83abdb","repo":"facebook/react","slug":"93","errorCode":"93","errorMessage":"<textarea> can only have at most one child.","messagePattern":"<textarea> can only have at most one child\\.","errorType":"exception","errorClass":"Error","httpStatus":null,"severity":"error","filePath":"packages/react-dom-bindings/src/client/ReactDOMTextarea.js","lineNumber":115,"sourceCode":"  children: ?string,\n) {\n  const node: HTMLTextAreaElement = element as any;\n\n  let initialValue = value;\n\n  // Only bother fetching default value if we're going to use it\n  if (initialValue == null) {\n    if (children != null) {\n      if (!disableTextareaChildren) {\n        if (defaultValue != null) {\n          throw new Error(\n            'If you supply `defaultValue` on a <textarea>, do not pass children.',\n          );\n        }\n\n        if (isArray(children)) {\n          if (children.length > 1) {\n            throw new Error('<textarea> can only have at most one child.');\n          }\n\n          children = children[0];\n        }\n\n        defaultValue = children;\n      }\n    }\n    if (defaultValue == null) {\n      defaultValue = '';\n    }\n    initialValue = defaultValue;\n  }\n\n  const stringValue = getToStringValue(initialValue);\n  node.defaultValue = stringValue as any; // This will be toString:ed.\n\n  // This is in postMount because we need access to the DOM node, which is not","sourceCodeStart":97,"sourceCodeEnd":133,"githubUrl":"https://github.com/facebook/react/blob/eafeac097ba51e1eab809c07102126bd5f8e5425/packages/react-dom-bindings/src/client/ReactDOMTextarea.js#L97-L133","documentation":"Error \"<textarea> can only have at most one child.\" thrown in facebook/react.","triggerScenarios":"Thrown at packages/react-dom-bindings/src/client/ReactDOMTextarea.js:115 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"eafeac097ba51e1eab809c07102126bd5f8e5425","analyzedAt":"2026-08-21T22:01:08.818Z","schemaVersion":2},"datasetVersion":"2026-08-21T23:17:16.201Z"}