PageSourceSearch

https://spellbook-finance.com/assets/FormField-DCuIPme8.js

js spellbook-finance.com collected 2026-10-02 01:45:02 UTC 812 bytes, 1 lines download raw bytes

1import{j as r}from"./index-D9xPWcr8.js";import{C as d}from"./use-app-form-DeGN2VlP.js";import{L as m}from"./label-ChSCYV_l.js";function j({control:t,name:s,label:n,description:a,required:x,children:c}){const l=`${s}-error`,i=a?`${s}-description`:void 0;return r.jsx(d,{control:t,name:s,render:({field:e,fieldState:o})=>r.jsxs("div",{className:"space-y-1.5",children:[n!=null&&r.jsxs(m,{htmlFor:s,children:[n,x&&r.jsx("span",{className:"ml-0.5 text-red-400",children:"*"})]}),a!=null&&r.jsx("p",{id:i,className:"text-xs text-gray-500",children:a}),c({id:s,name:e.name,value:e.value,onChange:e.onChange,onBlur:e.onBlur,ref:e.ref,"aria-invalid":o.invalid||void 0,"aria-describedby":o.error?l:i}),o.error&&r.jsx("p",{id:l,role:"alert",className:"text-xs text-red-400",children:o.error.message})]})})}export{j as F};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.