import { For, Show } from "solid-js"; import { hasUserScope } from "../../auth/scope-utils"; import { Button } from "../button.jsx"; const VALIDATE_OPTIONS: { label: string; value: boolean | undefined }[] = [ { label: "Unset", value: undefined }, { label: "True", value: true }, { label: "False", value: false }, ]; const activeClass = "bg-neutral-200 font-medium dark:bg-neutral-600"; const inactiveClass = "hover:bg-neutral-100 dark:hover:bg-neutral-700"; export const ConfirmSubmit = (props: { isCreate: boolean; validate: boolean | undefined; setValidate: (v: boolean | undefined) => void; recreate: boolean; setRecreate: (v: boolean) => void; onClose: () => void; }) => { return (
Set to 'false' to skip lexicon schema validation by the PDS, 'true' to require it, or leave unset to validate only for known lexicons.
Delete the existing record and create a new one with the same record key.