Skip to content

SelectItemParams.spellcheckMode?

SelectItemParams › spellcheckMode?

Type: SpellcheckMode

The mode deciding whether the search box is spell-checked.

The default is what this modal has always done, so passing nothing changes nothing. It differs from the prompt() parameter's default on purpose: Obsidian builds every SuggestModal input with a hardcoded spellcheck="false" and never consults Editor > Spellcheck there, so Off — not FollowObsidianSetting — is the value that leaves the box exactly as Obsidian built it.

Raise it for a picker whose box can NAME the thing it is about to create, rather than only find one.