Note
This documentation describes the LookupModal Vue component for native UI views. This component is used internally by the Lookup component to render the search modal content. For Xml templates see lookup which automatically uses LookupModal for the modal content. You only need to use LookupModal directly if you are building a custom lookup modal.
LookupModal
The content component used inside the lookup search modal. Renders a full filter + Datagrid view to let the user search for and select an entity from a list.
Import
import { LookupModal } from '@neos/app'
Props
None. Reads all context (entity definition, selection callback) from the modal context provided by the Lookup component.
Notes
- This component is rendered automatically inside the modal opened by
Lookup. - You do not need to use
LookupModaldirectly unless building a custom lookup modal.
Usage Examples
Custom lookup modal (advanced)
<Modal v-model:is-open="showPicker">
<template #body>
<LookupModal />
</template>
</Modal>