Skip to content

storeModelChoices

Overview

A store for lookup choices for a particular model field.

Signature

storeModelChoices(pinia, hot)

Parameters

NameTypeRequiredDescription
piniaPinianoPinia instance to retrieve the store
hotStoreGenericnodev only hot module replacement

Returns

Store

Properties

$id

Id of the store. Used by map helpers.

Type: "modelChoices"

Source: node_modules/.pnpm/pinia@3.0.4_typescript@5.9.3_vue@3.5.27_typescript@5.9.3_/node_modules/pinia/dist/pinia.d.ts:654

Source

client/lib/stores/storeModelChoices.js:67

Documents matching: server v3.0.0a1.post1client v3.0.0-alpha.2