diff --git a/src/components/queryBuilder/Condition.vue b/src/components/queryBuilder/Condition.vue index bd685d2..3766198 100644 --- a/src/components/queryBuilder/Condition.vue +++ b/src/components/queryBuilder/Condition.vue @@ -24,15 +24,25 @@ :value="(value as any)?.start" @input="(e) => ((value as any).start = (e.target as HTMLInputElement).value)" :type="inputType" + :min="columnType == 'boolean' ? 0 : undefined" + :max="columnType == 'boolean' ? 1 : undefined" />
-
((value as any).end = (e.target as HTMLInputElement).value)" :type="inputType" + :min="columnType == 'boolean' ? 0 : undefined" + :max="columnType == 'boolean' ? 1 : undefined" /> - +