fix: value with equal operator does not work
This commit is contained in:
parent
6fb3e02528
commit
53fb96f14c
@ -327,7 +327,7 @@ function getValSelect(f) {
|
|||||||
if (fieldtype == 'Dynamic Link') {
|
if (fieldtype == 'Dynamic Link') {
|
||||||
return h(FormControl, { type: 'text' })
|
return h(FormControl, { type: 'text' })
|
||||||
}
|
}
|
||||||
return h(Link, { class: 'form-control', doctype: options })
|
return h(Link, { class: 'form-control', doctype: options, value: f.value })
|
||||||
} else if (typeNumber.includes(fieldtype)) {
|
} else if (typeNumber.includes(fieldtype)) {
|
||||||
return h(FormControl, { type: 'number' })
|
return h(FormControl, { type: 'number' })
|
||||||
} else if (typeDate.includes(fieldtype) && operator == 'between') {
|
} else if (typeDate.includes(fieldtype) && operator == 'between') {
|
||||||
@ -437,8 +437,6 @@ function updateOperator(event, filter) {
|
|||||||
|
|
||||||
function isSameTypeOperator(oldOperator, newOperator) {
|
function isSameTypeOperator(oldOperator, newOperator) {
|
||||||
let textOperators = [
|
let textOperators = [
|
||||||
'like',
|
|
||||||
'not like',
|
|
||||||
'equals',
|
'equals',
|
||||||
'not equals',
|
'not equals',
|
||||||
'in',
|
'in',
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user