make supported dropdowns filterable

This commit is contained in:
sadnub
2022-04-18 12:33:33 -04:00
parent 67de28760a
commit 68ac245702
11 changed files with 34 additions and 2 deletions

View File

@@ -110,6 +110,7 @@
outlined
mapOptions
multiple
filterable
/>
</q-card-section>
<q-card-section class="row">
@@ -122,6 +123,7 @@
outlined
mapOptions
multiple
filterable
/>
</q-card-section>

View File

@@ -19,6 +19,7 @@
outlined
clearable
mapOptions
filterable
/>
<tactical-dropdown
v-if="type === 'client' || type === 'site'"
@@ -28,6 +29,7 @@
outlined
clearable
mapOptions
filterable
/>
<tactical-dropdown
v-if="type === 'agent'"
@@ -37,6 +39,7 @@
outlined
clearable
mapOptions
filterable
/>
<q-checkbox label="Block policy inheritance" v-model="blockInheritance">

View File

@@ -17,6 +17,7 @@
outlined
multiple
mapOptions
filterable
/>
</q-card-section>
<q-card-section>
@@ -27,6 +28,7 @@
outlined
multiple
mapOptions
filterable
/>
</q-card-section>
<q-card-section>
@@ -37,6 +39,7 @@
outlined
multiple
mapOptions
filterable
/>
</q-card-section>

View File

@@ -21,6 +21,7 @@
mapOptions
:rules="[val => !!val || 'Select the site that the agents should be moved to']"
hint="The client you are deleting has agents assigned to it. Select a Site below to move the agents to."
filterable
/>
</q-card-section>
<q-card-actions align="right">

View File

@@ -17,6 +17,7 @@
outlined
mapOptions
:rules="[val => !!val || 'Client is required']"
filterable
/>
</q-card-section>
<q-card-section>

View File

@@ -19,7 +19,14 @@
<!-- user -->
<q-card-section>
<tactical-dropdown outlined v-model="localKey.user" label="User" :options="userOptions" mapOptions />
<tactical-dropdown
outlined
v-model="localKey.user"
label="User"
:options="userOptions"
mapOptions
filterable
/>
</q-card-section>
<!-- key -->

View File

@@ -46,6 +46,7 @@
mapOptions
multiple
filled
filterable
/>
<tactical-dropdown
v-if="filterType === 'clients' && !agent"
@@ -58,6 +59,7 @@
multiple
filled
mapOptions
filterable
/>
<tactical-dropdown
class="q-pr-sm"

View File

@@ -24,7 +24,14 @@
<q-card-section class="row">
<div class="col-2">Site:</div>
<div class="col-2"></div>
<tactical-dropdown class="col-8" v-model="agent.site" :options="siteOptions" outlined mapOptions />
<tactical-dropdown
class="col-8"
v-model="agent.site"
:options="siteOptions"
outlined
mapOptions
filterable
/>
</q-card-section>
<q-card-section class="row">
<div class="col-2">Type:</div>

View File

@@ -73,6 +73,7 @@
:options="customFieldOptions"
label="Select custom field"
mapOptions
filterable
/>
<q-checkbox v-model="state.save_all_output" label="Save all output" />
</q-card-section>

View File

@@ -18,6 +18,7 @@
:options="clientOptions"
use-chips
mapOptions
filterable
/>
</q-card-section>
<q-card-section>
@@ -29,6 +30,7 @@
:options="siteOptions"
use-chips
mapOptions
filterable
/>
</q-card-section>
<q-card-section>
@@ -40,6 +42,7 @@
:options="agentOptions"
use-chips
mapOptions
filterable
/>
</q-card-section>

View File

@@ -49,6 +49,7 @@
? 'All script output will be saved to custom field selected'
: 'The last line of script output will be saved to custom field selected'
"
filterable
/>
<q-checkbox
v-if="collector"
@@ -558,6 +559,7 @@
:options="checkOptions"
label="Select Check"
mapOptions
filterable
/>
</q-card-section>
</q-form>