UseTextFieldOptions interface

Module @runic-artifex/react in @runic-artifex/react 0.23.0

interface UseTextFieldOptions

No documentation.

Properties

coalesce

readonly coalesce?: boolean;

With true (the default) at most one write is in flight, and text typed meanwhile is written next, as one value. With false every change is written. Read when the component mounts.

keepDraftOnError

readonly keepDraftOnError?: boolean;

With true (the default) a failed write keeps the draft and sets error; with false the field shows the View's value again. Read when the component mounts.