SecureField
The concealed native editor with the same controlled contract as TextField.
#Import
Import SecureField from @quickgui/solid/swift-ui.
import { Host, SecureField } from "@quickgui/solid/swift-ui";#Usage
<Host matchContents={{ vertical: true }} style={{ width: 280 }}>
<SecureField
value={password()}
placeholder="Password"
onValueChange={setPassword}
/>
</Host>#API reference
Expand an entry for its description and complete signature. A dash means no declaration default is documented.
SecureField
View sourceSecureField(props: TextFieldProps): NativeNodetestIDstring—
modifiersViewModifier[]—
valuestring—
placeholderstring—
Declares placeholder (optional). Reactive JSX expressions update this property in place.
stringView sourceonValueChange(value: string, event: QuickGuiEvent) => void—
Declares onValueChange (optional). Reactive JSX expressions update this property in place.
(value: string, event: QuickGuiEvent) => voidView sourceonSubmit(event: QuickGuiEvent) => void—
Declares onSubmit (optional). Reactive JSX expressions update this property in place.
(event: QuickGuiEvent) => voidView sourceref((node: NativeNode) => void) | NativeNode—
Declares ref (optional). Reactive JSX expressions update this property in place.
((node: NativeNode) => void) | NativeNodeView source