fix(mapper): preserve mapping mode state on navigation (#49)
* feat: poc - needs cleaning - just me, hacking * refactor: cleaning * chore: update available categories * fix: remember previous mode * fix: clear search string after mapping * feat: add Mixpanel tracking to revit mapper interactions (#50) * feat: add Mixpanel tracking to revit mapper interactions * fix: pr comments * fix: just mode * chore(interop-lite): rename event name prop --------- Co-authored-by: oguzhankoral <oguzhankoral@gmail.com> * revit mapper store * WIP * Fix form select base placeholder on select * refactor: convention, not composable * fix: deselecting objects through mapped mode * fix: eslinting ? * chore: remove console log --------- Co-authored-by: oguzhankoral <oguzhankoral@gmail.com>
This commit is contained in:
@@ -4,6 +4,7 @@
|
||||
<div class="space-y-2 my-2">
|
||||
<!-- Multi-select layer dropdown -->
|
||||
<FormSelectMulti
|
||||
:key="selectedLayers.length === 0 ? 'empty' : 'hasSelection'"
|
||||
:model-value="selectedLayers"
|
||||
name="layerSelection"
|
||||
label="Select layers"
|
||||
@@ -13,8 +14,9 @@
|
||||
:items="layerOptions"
|
||||
:allow-unset="false"
|
||||
by="id"
|
||||
search
|
||||
:search-placeholder="'Search layers...'"
|
||||
clearable
|
||||
:search="true"
|
||||
:search-placeholder="''"
|
||||
:filter-predicate="layerSearchFilterPredicate"
|
||||
mount-menu-on-body
|
||||
@update:model-value="(value) => $emit('update:selectedLayers', value as LayerOption[])"
|
||||
|
||||
Reference in New Issue
Block a user