PopoverField<Key>
A single text field of a editFieldsInPopover popover.
Import:
import type { PopoverField } from 'obsidian-dev-utils/obsidian/popovers/field-popover';Signature:
export interface PopoverField<Key extends string>Properties
| Property | Type | Description |
|---|---|---|
| defaultValue? | string | A value to pre-fill the field with. |
| key | Key | The key the field's value is returned under. |
| name | string | The label shown next to the field. |
| placeholder? | string | A placeholder text for the field. |
Links to this page: