Skip to content

editFieldsInPopover<Key>

Displays a popover with a text field per entry in fields and resolves with their values keyed by PopoverField.key, or null if it was dismissed without confirming.

Import:

import { editFieldsInPopover } from 'obsidian-dev-utils/obsidian/popovers/field-popover';

Signature:

function editFieldsInPopover(params: EditFieldsInPopoverParams<Key>): Promise<Record<Key, string> | null>

Parameters:

ParameterTypeDescription
paramsEditFieldsInPopoverParams<Key>The parameters for the popover.

Returns: Promise<Record<Key, string> | null> — A Promise that resolves with the edited values, or null if dismissed.


Links to this page: