mirror of
https://github.com/directus/directus.git
synced 2026-04-25 03:00:53 -04:00
Add support for Conditional Fields (#6864)
* Add conditions field to directus_fields * Add conditions configuration * Apply conditional overrides * Handle conditions in nested groups * Fix reverse mutating conditions * Start on filter setup interface * Move field types/constants to shared * [WIP] Updated client side filter validation * Support logical operators in client validation step * Use new validation util in conditions check * Add nesting in filter seutp * Add filter rule setup configurator * Fixes that should've been done in the merge * Strip out filter-settings interface TBD in a new PR * Move browser to index
This commit is contained in:
@@ -13,6 +13,7 @@
|
||||
ref="input"
|
||||
v-focus="autofocus"
|
||||
v-bind="attributes"
|
||||
:placeholder="placeholder"
|
||||
:autocomplete="autocomplete"
|
||||
:type="type"
|
||||
:min="min"
|
||||
@@ -84,6 +85,10 @@ export default defineComponent({
|
||||
type: Boolean,
|
||||
default: true,
|
||||
},
|
||||
placeholder: {
|
||||
type: String,
|
||||
default: null,
|
||||
},
|
||||
modelValue: {
|
||||
type: [String, Number],
|
||||
default: null,
|
||||
|
||||
Reference in New Issue
Block a user