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:
Radosław Smoliński
2026-11-13 16:30:44 +01:00
co-authored by Claude Fable 5.2
parent 701bb420c1
commit 344574d6bd
8 changed files with 335 additions and 16 deletions
+1 -2
View File
@@ -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}