Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
scc-net
netvs
netvs-core
Commits
b51133af
Commit
b51133af
authored
Oct 12, 2020
by
janis.streib
🦉
Browse files
FIXUP
parent
c718d4e6
Changes
1
Hide whitespace changes
Inline
Side-by-side
frontend/src/components/DataEditField.vue
View file @
b51133af
...
...
@@ -8,10 +8,11 @@
type=
"number"
:name=
"attribute_name"
:disabled=
"input_reducer instanceof Boolean && !input_reducer"
></b-form-input>
<input
type=
"hidden"
:name=
"attribute_name"
v-else-if=
"object_attribute.data_type=='boolean'"
:value=
"false"
/>
<b-checkbox
:checked=
"attribute_preset || false"
:name=
"attribute_name"
v-else-if=
"object_attribute.data_type=='boolean'"
:disabled=
"input_reducer instanceof Boolean && !input_reducer"
></b-checkbox>
<b-input-group
v-else-if=
"object_attribute.data_type=='boolean'"
>
<input
type=
"hidden"
:name=
"attribute_name"
:value=
"false"
/>
<b-checkbox
:checked=
"attribute_preset || false"
:name=
"attribute_name"
:disabled=
"input_reducer instanceof Boolean && !input_reducer"
></b-checkbox>
</b-input-group>
<b-form-select
:name=
"attribute_name"
v-else-if=
"input_reducer instanceof Object"
v-model=
"attribute_preset"
>
<template
v-slot:first
>
<b-form-select-option
:value=
"null"
disabled
>
-- Auswahl treffen --
</b-form-select-option>
...
...
@@ -43,7 +44,7 @@ export default {
},
input_reducer
:
{
type
:
Object
,
default
()
{
default
()
{
return
null
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment