File tree Expand file tree Collapse file tree 1 file changed +10
-2
lines changed
adminforth/spa/src/components Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Original file line number Diff line number Diff line change 5454 />
5555
5656 <Input
57- v-else-if =" [ 'string', 'text' ].includes(c.type)"
57+ v-else-if =" ['string', 'text', 'unknown' ].includes(c.type)"
5858 type =" text"
5959 full-width
6060 :placeholder =" $t('Search')"
6161 @update:modelValue =" setFilterItem({ column: c, operator: 'ilike', value: $event || undefined })"
6262 :modelValue =" getFilterItem({ column: c, operator: 'ilike' })"
6363 />
6464
65+ <textarea
66+ v-else-if =" ['json', 'richtext'].includes(c.type)"
67+ class =" bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white focus:ring-lightPrimary focus:border-lightPrimary dark:focus:ring-darkPrimary dark:focus:border-darkPrimary"
68+ :placeholder =" $t('Search')"
69+ :value =" getFilterItem({ column: c, operator: 'ilike' })"
70+ @input =" setFilterItem({ column: c, operator: 'ilike', value: $event.target.value || undefined })"
71+ />
72+
6573 <CustomDateRangePicker
6674 v-else-if =" ['datetime'].includes(c.type)"
6775 :column =" c"
7280 />
7381
7482 <Input
75- v-else-if =" [ 'date', 'time' ].includes(c.type)"
83+ v-else-if =" ['date', 'time'].includes(c.type)"
7684 type =" text"
7785 full-width
7886 :placeholder =" $t('Search datetime')"
You can’t perform that action at this time.
0 commit comments