Skip to content

BasesFormulaOption

Official

A text input supporting formula evaluation.

Import:

import type { BasesFormulaOption } from 'obsidian';

Signature:

export interface BasesFormulaOption extends BasesOption

Extends: BasesOption

Properties

PropertyTypeDescription
default?stringThe default value of the option.
displayNamestringDisplay name.
(Inherited from BasesOption)
keystringKey.
(Inherited from BasesOption)
placeholder?stringThe placeholder of the option.
shouldHide?() => booleanIf provided, the option will be hidden if the function returns true.
(Inherited from BasesOption)
type'formula'The type of the option.