Skip to content

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

PropertyTypeDescription
defaultValue?stringA value to pre-fill the field with.
keyKeyThe key the field's value is returned under.
namestringThe label shown next to the field.
placeholder?stringA placeholder text for the field.

Links to this page: