WIP: form attachments docs (forms, email, security, storage, deployment, notifications), honeypot value sent
Co-Authored-By: Claude Fable 5.2 <[email protected]>
This commit is contained in:
co-authored by
Claude Fable 5.2
parent
701bb420c1
commit
344574d6bd
@@ -9,7 +9,6 @@ import type { BuilderField } from './builderTypes.js'
|
||||
import type { BuilderFormApi, UseBuilderFormOptions } from './useBuilderForm.js'
|
||||
|
||||
import { formatFileSize } from './attachments/fileTypes.js'
|
||||
import { honeypotInputProps } from './honeypot.js'
|
||||
import { useBuilderForm } from './useBuilderForm.js'
|
||||
|
||||
/**
|
||||
@@ -228,7 +227,7 @@ export function BuilderForm({
|
||||
|
||||
return (
|
||||
<form className={cn.form} data-ipal="form" data-step={f.stepIndex + 1} noValidate onSubmit={f.submit}>
|
||||
<input {...honeypotInputProps()} />
|
||||
<input {...f.getHoneypotProps()} />
|
||||
{f.total > 1 && progress ? <p aria-live="polite" className={cn.progress}>{progress}</p> : null}
|
||||
<div className={cn.step} data-ipal="form-step" ref={stepRef} tabIndex={-1}>
|
||||
{step.title ? <p className={cn.stepTitle}>{step.title}</p> : null}
|
||||
|
||||
Reference in New Issue
Block a user