可选的
acceptCharset
acceptCharset?: string
可选的
accessKey
accessKey?: string
可选的
aria-activedescendant
aria-activedescendant?: string
可选的
aria-atomic
aria-atomic?: Booleanish
可选的
aria-autocomplete
aria-autocomplete?:
| "none"
| "list"
| "inline"
| "both"
可选的
aria-braillelabel
aria-braillelabel?: string
可选的
aria-brailleroledescription
aria-brailleroledescription?: string
可选的
aria-busy
aria-busy?: Booleanish
可选的
aria-checked
aria-checked?:
| boolean
| "true"
| "false"
| "mixed"
可选的
aria-colcount
aria-colcount?: number
可选的
aria-colindex
aria-colindex?: number
可选的
aria-colindextext
aria-colindextext?: string
可选的
aria-colspan
aria-colspan?: number
可选的
aria-controls
aria-controls?: string
可选的
aria-current
aria-current?:
| boolean
| "time"
| "true"
| "location"
| "page"
| "step"
| "false"
| "date"
可选的
aria-describedby
aria-describedby?: string
可选的
aria-description
aria-description?: string
可选的
aria-details
aria-details?: string
可选的
aria-disabled
aria-disabled?: Booleanish
可选的
aria-dropeffect
aria-dropeffect?:
| "link"
| "copy"
| "none"
| "execute"
| "move"
| "popup"
可选的
aria-errormessage
aria-errormessage?: string
可选的
aria-expanded
aria-expanded?: Booleanish
可选的
aria-flowto
aria-flowto?: string
可选的
aria-grabbed
aria-grabbed?: Booleanish
可选的
aria-haspopup
aria-haspopup?:
| boolean
| "dialog"
| "menu"
| "true"
| "false"
| "grid"
| "listbox"
| "tree"
可选的
aria-hidden
aria-hidden?: Booleanish
可选的
aria-invalid
aria-invalid?:
| boolean
| "true"
| "false"
| "grammar"
| "spelling"
可选的
aria-keyshortcuts
aria-keyshortcuts?: string
可选的
aria-label
aria-label?: string
可选的
aria-labelledby
aria-labelledby?: string
可选的
aria-level
aria-level?: number
Optional
aria-live
aria-live?: "off" | "assertive" | "polite"
Optional
aria-modal
aria-modal?: Booleanish
Optional
aria-multiline
aria-multiline?: Booleanish
Optional
aria-multiselectable
aria-multiselectable?: Booleanish
Optional
aria-orientation
aria-orientation?: "horizontal" | "vertical"
Optional
aria-owns
aria-owns?: string
Optional
aria-placeholder
aria-placeholder?: string
Optional
aria-posinset
aria-posinset?: number
Optional
aria-pressed
aria-pressed?:
| boolean
| "true"
| "false"
| "mixed"
Optional
aria-readonly
aria-readonly?: Booleanish
Optional
aria-relevant
aria-relevant?:
| "text"
| "additions"
| "additions removals"
| "additions text"
| "all"
| "removals"
| "removals additions"
| "removals text"
| "text additions"
| "text removals"
Optional
aria-required
aria-required?: Booleanish
Optional
aria-roledescription
aria-roledescription?: string
Optional
aria-rowcount
aria-rowcount?: number
Optional
aria-rowindex
aria-rowindex?: number
Optional
aria-rowindextext
aria-rowindextext?: string
Optional
aria-rowspan
aria-rowspan?: number
Optional
aria-selected
aria-selected?: Booleanish
Optional
aria-setsize
aria-setsize?: number
Optional
aria-sort
aria-sort?:
| "none"
| "ascending"
| "descending"
| "other"
Optional
aria-valuemax
aria-valuemax?: number
Optional
aria-valuemin
aria-valuemin?: number
Optional
aria-valuenow
aria-valuenow?: number
Optional
aria-valuetext
aria-valuetext?: string
Optional
autoCapitalize
autoCapitalize?: string
Optional
autoComplete
autoComplete?: string
Optional
autoCorrect
autoCorrect?: string
Optional
autoFocus
autoFocus?: boolean
Optional
autoSave
autoSave?: string
Optional
children
children?: ReactNode
Optional
className
className?: string
Optional
color
color?: string
Optional
content
content?: string
Optional
contentEditable
contentEditable?: Booleanish | "inherit"
Optional
contextMenu
contextMenu?: string
Optional
dangerouslySetInnerHTML
dangerouslySetInnerHTML?: {
__html: string | TrustedHTML;
}
Optional
datatype
datatype?: string
Optional
defaultChecked
defaultChecked?: boolean
Optional
defaultValue
defaultValue?: string | number | readonly string[]
Optional
discover
discover?: DiscoverBehavior
Optional
draggable
draggable?: Booleanish
Optional
encType
encType?: "application/x-www-form-urlencoded" | "multipart/form-data" | "text/plain"
Optional
fetcherKey
fetcherKey?: string
Optional
hidden
hidden?: boolean
Optional
inlist
inlist?: any
Optional
inputMode
inputMode?:
| "search"
| "text"
| "url"
| "none"
| "tel"
| "email"
| "numeric"
| "decimal"
Optional
itemID
itemID?: string
Optional
itemProp
itemProp?: string
Optional
itemRef
itemRef?: string
Optional
itemScope
itemScope?: boolean
Optional
itemType
itemType?: string
Optional
lang
lang?: string
Optional
name
name?: string
Optional
navigate
navigate?: boolean
可选
noValidate
noValidate?: boolean
可选
onAbort
onAbort?: ReactEventHandler<HTMLFormElement>
可选
onAbortCapture
onAbortCapture?: ReactEventHandler<HTMLFormElement>
可选
onAnimationEnd
onAnimationEnd?: AnimationEventHandler<HTMLFormElement>
可选
onAnimationEndCapture
onAnimationEndCapture?: AnimationEventHandler<HTMLFormElement>
可选
onAnimationIteration
onAnimationIteration?: AnimationEventHandler<HTMLFormElement>
可选
onAnimationIterationCapture
onAnimationIterationCapture?: AnimationEventHandler<HTMLFormElement>
可选
onAnimationStart
onAnimationStart?: AnimationEventHandler<HTMLFormElement>
可选
onAnimationStartCapture
onAnimationStartCapture?: AnimationEventHandler<HTMLFormElement>
可选
onAuxClick
onAuxClick?: MouseEventHandler<HTMLFormElement>
可选
onAuxClickCapture
onAuxClickCapture?: MouseEventHandler<HTMLFormElement>
可选
onBeforeInput
onBeforeInput?: FormEventHandler<HTMLFormElement>
可选
onBeforeInputCapture
onBeforeInputCapture?: FormEventHandler<HTMLFormElement>
可选
onBlur
onBlur?: FocusEventHandler<HTMLFormElement>
可选
onBlurCapture
onBlurCapture?: FocusEventHandler<HTMLFormElement>
可选
onCanPlay
onCanPlay?: ReactEventHandler<HTMLFormElement>
可选
onCanPlayCapture
onCanPlayCapture?: ReactEventHandler<HTMLFormElement>
可选
onCanPlayThrough
onCanPlayThrough?: ReactEventHandler<HTMLFormElement>
可选
onCanPlayThroughCapture
onCanPlayThroughCapture?: ReactEventHandler<HTMLFormElement>
可选
onChange
onChange?: FormEventHandler<HTMLFormElement>
可选
onChangeCapture
onChangeCapture?: FormEventHandler<HTMLFormElement>
可选
onClick
onClick?: MouseEventHandler<HTMLFormElement>
可选
onClickCapture
onClickCapture?: MouseEventHandler<HTMLFormElement>
可选
onCompositionEnd
onCompositionEnd?: CompositionEventHandler<HTMLFormElement>
可选
onCompositionEndCapture
onCompositionEndCapture?: CompositionEventHandler<HTMLFormElement>
可选
onCompositionStart
onCompositionStart?: CompositionEventHandler<HTMLFormElement>
可选
onCompositionStartCapture
onCompositionStartCapture?: CompositionEventHandler<HTMLFormElement>
可选
onCompositionUpdate
onCompositionUpdate?: CompositionEventHandler<HTMLFormElement>
可选
onCompositionUpdateCapture
onCompositionUpdateCapture?: CompositionEventHandler<HTMLFormElement>
可选
onContextMenu
onContextMenu?: MouseEventHandler<HTMLFormElement>
可选
onContextMenuCapture
onContextMenuCapture?: MouseEventHandler<HTMLFormElement>
可选
onCopy
onCopy?: ClipboardEventHandler<HTMLFormElement>
可选
onCopyCapture
onCopyCapture?: ClipboardEventHandler<HTMLFormElement>
可选
onCut
onCut?: ClipboardEventHandler<HTMLFormElement>
可选
onCutCapture
onCutCapture?: ClipboardEventHandler<HTMLFormElement>
可选
onDoubleClick
onDoubleClick?: MouseEventHandler<HTMLFormElement>
可选
onDoubleClickCapture
onDoubleClickCapture?: MouseEventHandler<HTMLFormElement>
可选
onDrag
onDrag?: DragEventHandler<HTMLFormElement>
可选
onDragCapture
onDragCapture?: DragEventHandler<HTMLFormElement>
可选
onDragEnd
onDragEnd?: DragEventHandler<HTMLFormElement>
可选
onDragEndCapture
onDragEndCapture?: DragEventHandler<HTMLFormElement>
可选
onDragEnter
onDragEnter?: DragEventHandler<HTMLFormElement>
可选
onDragEnterCapture
onDragEnterCapture?: DragEventHandler<HTMLFormElement>
可选
onDragExit
onDragExit?: DragEventHandler<HTMLFormElement>
可选
onDragExitCapture
onDragExitCapture?: DragEventHandler<HTMLFormElement>
可选
onDragLeave
onDragLeave?: DragEventHandler<HTMLFormElement>
可选
onDragLeaveCapture
onDragLeaveCapture?: DragEventHandler<HTMLFormElement>
可选
onDragOver
onDragOver?: DragEventHandler<HTMLFormElement>
可选
onDragOverCapture
onDragOverCapture?: DragEventHandler<HTMLFormElement>
可选
onDragStart
onDragStart?: DragEventHandler<HTMLFormElement>
可选
onDragStartCapture
onDragStartCapture?: DragEventHandler<HTMLFormElement>
可选
onDrop
onDrop?: DragEventHandler<HTMLFormElement>
Optional
可选的DropCapture
onDropCapture?: DragEventHandler<HTMLFormElement>
Optional
可选的DurationChange
onDurationChange?: ReactEventHandler<HTMLFormElement>
Optional
可选的DurationChangeCapture
onDurationChangeCapture?: ReactEventHandler<HTMLFormElement>
Optional
可选的Emptied
onEmptied?: ReactEventHandler<HTMLFormElement>
Optional
可选的EmptiedCapture
onEmptiedCapture?: ReactEventHandler<HTMLFormElement>
Optional
可选的Encrypted
onEncrypted?: ReactEventHandler<HTMLFormElement>
Optional
可选的EncryptedCapture
onEncryptedCapture?: ReactEventHandler<HTMLFormElement>
Optional
可选的Ended
onEnded?: ReactEventHandler<HTMLFormElement>
Optional
可选的EndedCapture
onEndedCapture?: ReactEventHandler<HTMLFormElement>
Optional
可选的Error
onError?: ReactEventHandler<HTMLFormElement>
Optional
可选的ErrorCapture
onErrorCapture?: ReactEventHandler<HTMLFormElement>
Optional
可选的Focus
onFocus?: FocusEventHandler<HTMLFormElement>
Optional
可选的FocusCapture
onFocusCapture?: FocusEventHandler<HTMLFormElement>
Optional
可选的GotPointerCapture
onGotPointerCapture?: PointerEventHandler<HTMLFormElement>
Optional
可选的GotPointerCaptureCapture
onGotPointerCaptureCapture?: PointerEventHandler<HTMLFormElement>
Optional
可选的Input
onInput?: FormEventHandler<HTMLFormElement>
Optional
可选的InputCapture
onInputCapture?: FormEventHandler<HTMLFormElement>
Optional
可选的Invalid
onInvalid?: FormEventHandler<HTMLFormElement>
Optional
可选的InvalidCapture
onInvalidCapture?: FormEventHandler<HTMLFormElement>
Optional
可选的KeyDown
onKeyDown?: KeyboardEventHandler<HTMLFormElement>
Optional
可选的KeyDownCapture
onKeyDownCapture?: KeyboardEventHandler<HTMLFormElement>
Optional
已弃用KeyPress
onKeyPress?: KeyboardEventHandler<HTMLFormElement>
Optional
已弃用KeyPressCapture
onKeyPressCapture?: KeyboardEventHandler<HTMLFormElement>
Optional
可选的KeyUp
onKeyUp?: KeyboardEventHandler<HTMLFormElement>
Optional
可选的KeyUpCapture
onKeyUpCapture?: KeyboardEventHandler<HTMLFormElement>
Optional
可选的Load
onLoad?: ReactEventHandler<HTMLFormElement>
Optional
可选的LoadCapture
onLoadCapture?: ReactEventHandler<HTMLFormElement>
Optional
可选的LoadedData
onLoadedData?: ReactEventHandler<HTMLFormElement>
Optional
可选的LoadedDataCapture
onLoadedDataCapture?: ReactEventHandler<HTMLFormElement>
Optional
可选的LoadedMetadata
onLoadedMetadata?: ReactEventHandler<HTMLFormElement>
Optional
可选的LoadedMetadataCapture
onLoadedMetadataCapture?: ReactEventHandler<HTMLFormElement>
Optional
可选的LoadStart
onLoadStart?: ReactEventHandler<HTMLFormElement>
Optional
可选的LoadStartCapture
onLoadStartCapture?: ReactEventHandler<HTMLFormElement>
Optional
可选的LostPointerCapture
onLostPointerCapture?: PointerEventHandler<HTMLFormElement>
Optional
可选的LostPointerCaptureCapture
onLostPointerCaptureCapture?: PointerEventHandler<HTMLFormElement>
Optional
可选的MouseDown
onMouseDown?: MouseEventHandler<HTMLFormElement>
Optional
可选的MouseDownCapture
onMouseDownCapture?: MouseEventHandler<HTMLFormElement>
Optional
可选的MouseEnter
onMouseEnter?: MouseEventHandler<HTMLFormElement>
Optional
可选的MouseLeave
onMouseLeave?: MouseEventHandler<HTMLFormElement>
Optional
可选的MouseMove
onMouseMove?: MouseEventHandler<HTMLFormElement>
Optional
可选的MouseMoveCapture
onMouseMoveCapture?: MouseEventHandler<HTMLFormElement>
Optional
可选的MouseOut
onMouseOut?: MouseEventHandler<HTMLFormElement>
Optional
可选的MouseOutCapture
onMouseOutCapture?: MouseEventHandler<HTMLFormElement>
Optional
可选的MouseOver
onMouseOver?: MouseEventHandler<HTMLFormElement>
Optional
可选的MouseOverCapture
onMouseOverCapture?: MouseEventHandler<HTMLFormElement>
Optional
可选的MouseUp
onMouseUp?: MouseEventHandler<HTMLFormElement>
Optional
可选的MouseUpCapture
onMouseUpCapture?: MouseEventHandler<HTMLFormElement>
Optional
可选的Paste
onPaste?: ClipboardEventHandler<HTMLFormElement>
Optional
可选的PasteCapture
onPasteCapture?: ClipboardEventHandler<HTMLFormElement>
Optional
可选的Pause
onPause?: ReactEventHandler<HTMLFormElement>
Optional
可选的PauseCapture
onPauseCapture?: ReactEventHandler<HTMLFormElement>
Optional
可选的Play
onPlay?: ReactEventHandler<HTMLFormElement>
Optional
可选的PlayCapture
onPlayCapture?: ReactEventHandler<HTMLFormElement>
Optional
可选的Playing
onPlaying?: ReactEventHandler<HTMLFormElement>
Optional
可选的PlayingCapture
onPlayingCapture?: ReactEventHandler<HTMLFormElement>
Optional
可选的PointerCancel
onPointerCancel?: PointerEventHandler<HTMLFormElement>
Optional
可选的PointerCancelCapture
onPointerCancelCapture?: PointerEventHandler<HTMLFormElement>
Optional
可选的PointerDown
onPointerDown?: PointerEventHandler<HTMLFormElement>
Optional
可选的PointerDownCapture
onPointerDownCapture?: PointerEventHandler<HTMLFormElement>
Optional
可选的PointerEnter
onPointerEnter?: PointerEventHandler<HTMLFormElement>
Optional
可选的PointerEnterCapture
onPointerEnterCapture?: PointerEventHandler<HTMLFormElement>
Optional
可选的PointerLeave
onPointerLeave?: PointerEventHandler<HTMLFormElement>
Optional
onPointerLeaveCapture
onPointerLeaveCapture?: PointerEventHandler<HTMLFormElement>
Optional
onPointerMove
onPointerMove?: PointerEventHandler<HTMLFormElement>
Optional
onPointerMoveCapture
onPointerMoveCapture?: PointerEventHandler<HTMLFormElement>
Optional
onPointerOut
onPointerOut?: PointerEventHandler<HTMLFormElement>
Optional
onPointerOutCapture
onPointerOutCapture?: PointerEventHandler<HTMLFormElement>
Optional
onPointerOver
onPointerOver?: PointerEventHandler<HTMLFormElement>
Optional
onPointerOverCapture
onPointerOverCapture?: PointerEventHandler<HTMLFormElement>
Optional
onPointerUp
onPointerUp?: PointerEventHandler<HTMLFormElement>
Optional
onPointerUpCapture
onPointerUpCapture?: PointerEventHandler<HTMLFormElement>
Optional
onProgress
onProgress?: ReactEventHandler<HTMLFormElement>
Optional
onProgressCapture
onProgressCapture?: ReactEventHandler<HTMLFormElement>
Optional
onRateChange
onRateChange?: ReactEventHandler<HTMLFormElement>
Optional
onRateChangeCapture
onRateChangeCapture?: ReactEventHandler<HTMLFormElement>
Optional
onReset
onReset?: FormEventHandler<HTMLFormElement>
Optional
onResetCapture
onResetCapture?: FormEventHandler<HTMLFormElement>
Optional
onResize
onResize?: ReactEventHandler<HTMLFormElement>
Optional
onResizeCapture
onResizeCapture?: ReactEventHandler<HTMLFormElement>
Optional
onScroll
onScroll?: UIEventHandler<HTMLFormElement>
Optional
onScrollCapture
onScrollCapture?: UIEventHandler<HTMLFormElement>
Optional
onSeeked
onSeeked?: ReactEventHandler<HTMLFormElement>
Optional
onSeekedCapture
onSeekedCapture?: ReactEventHandler<HTMLFormElement>
Optional
onSeeking
onSeeking?: ReactEventHandler<HTMLFormElement>
Optional
onSeekingCapture
onSeekingCapture?: ReactEventHandler<HTMLFormElement>
Optional
onSelect
onSelect?: ReactEventHandler<HTMLFormElement>
Optional
onSelectCapture
onSelectCapture?: ReactEventHandler<HTMLFormElement>
Optional
onStalled
onStalled?: ReactEventHandler<HTMLFormElement>
Optional
onStalledCapture
onStalledCapture?: ReactEventHandler<HTMLFormElement>
Optional
onSubmit
onSubmit?: FormEventHandler<HTMLFormElement>
Optional
onSubmitCapture
onSubmitCapture?: FormEventHandler<HTMLFormElement>
Optional
onSuspend
onSuspend?: ReactEventHandler<HTMLFormElement>
Optional
onSuspendCapture
onSuspendCapture?: ReactEventHandler<HTMLFormElement>
Optional
onTimeUpdate
onTimeUpdate?: ReactEventHandler<HTMLFormElement>
Optional
onTimeUpdateCapture
onTimeUpdateCapture?: ReactEventHandler<HTMLFormElement>
Optional
onTouchCancel
onTouchCancel?: TouchEventHandler<HTMLFormElement>
Optional
onTouchCancelCapture
onTouchCancelCapture?: TouchEventHandler<HTMLFormElement>
Optional
onTouchEnd
onTouchEnd?: TouchEventHandler<HTMLFormElement>
Optional
onTouchEndCapture
onTouchEndCapture?: TouchEventHandler<HTMLFormElement>
Optional
onTouchMove
onTouchMove?: TouchEventHandler<HTMLFormElement>
Optional
onTouchMoveCapture
onTouchMoveCapture?: TouchEventHandler<HTMLFormElement>
Optional
onTouchStart
onTouchStart?: TouchEventHandler<HTMLFormElement>
Optional
onTouchStartCapture
onTouchStartCapture?: TouchEventHandler<HTMLFormElement>
Optional
onTransitionEnd
onTransitionEnd?: TransitionEventHandler<HTMLFormElement>
Optional
onTransitionEndCapture
onTransitionEndCapture?: TransitionEventHandler<HTMLFormElement>
Optional
onVolumeChange
onVolumeChange?: ReactEventHandler<HTMLFormElement>
Optional
onVolumeChangeCapture
onVolumeChangeCapture?: ReactEventHandler<HTMLFormElement>
Optional
onWaiting
onWaiting?: ReactEventHandler<HTMLFormElement>
Optional
onWaitingCapture
onWaitingCapture?: ReactEventHandler<HTMLFormElement>
Optional
onWheel
onWheel?: WheelEventHandler<HTMLFormElement>
Optional
onWheelCapture
onWheelCapture?: WheelEventHandler<HTMLFormElement>
Optional
placeholder
placeholder?: string
Optional
prefix
prefix?: string
Optional
preventScrollReset
preventScrollReset?: boolean
Optional
property
property?: string
Optional
radioGroup
radioGroup?: string
可选
reloadDocument
reloadDocument?: boolean
可选
replace
replace?: boolean
可选
resource
resource?: string
可选
results
results?: number
可选
security
security?: string
可选
spellCheck
spellCheck?: Booleanish
可选
style
style?: CSSProperties
可选
suppressContentEditableWarning
suppressContentEditableWarning?: boolean
可选
suppressHydrationWarning
suppressHydrationWarning?: boolean
可选
tabIndex
tabIndex?: number
可选
translate
translate?: "yes" | "no"
可选
unselectable
unselectable?: "on" | "off"
可选
viewTransition
viewTransition?: boolean
导航可用的 Form 属性