Home / Function/ NameField() — supabase Function Reference

NameField() — supabase Function Reference

Architecture documentation for the NameField() function in EditSecretSheet.tsx from the supabase codebase.

Entity Profile

Relationship Graph

Source Code

apps/studio/components/interfaces/Functions/EdgeFunctionSecrets/EditSecretSheet.tsx lines 151–169

const NameField = ({ form }: NameFieldProps): ReactNode => {
  return (
    <FormField_Shadcn_
      control={form.control}
      name="name"
      render={({ field }) => (
        <FormItemLayout label="Name" layout="horizontal">
          <FormControl_Shadcn_>
            <Input_Shadcn_
              {...field}
              readOnly
              className="!text-foreground-light cursor-not-allowed"
            />
          </FormControl_Shadcn_>
        </FormItemLayout>
      )}
    />
  )
}

Subdomains

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free