Widgets güncellemeleri
This commit is contained in:
parent
5b006aef4a
commit
4d9ae1563d
1 changed files with 34 additions and 25 deletions
|
|
@ -7,6 +7,7 @@ import {
|
||||||
Notification,
|
Notification,
|
||||||
Select,
|
Select,
|
||||||
toast,
|
toast,
|
||||||
|
Tooltip,
|
||||||
} from '@/components/ui'
|
} from '@/components/ui'
|
||||||
import { ListFormJsonRowDto } from '@/proxy/admin/list-form/models'
|
import { ListFormJsonRowDto } from '@/proxy/admin/list-form/models'
|
||||||
import { SelectBoxOption } from '@/shared/types'
|
import { SelectBoxOption } from '@/shared/types'
|
||||||
|
|
@ -219,33 +220,41 @@ function JsonRowOpDialogWidget({
|
||||||
/>
|
/>
|
||||||
</FormItem>
|
</FormItem>
|
||||||
|
|
||||||
<FormItem
|
<Tooltip title={'blue, green, purple, gray, red, yellow, pink, indigo, teal'}>
|
||||||
label="Color Field"
|
<FormItem
|
||||||
invalid={errors.color && touched.color}
|
label="Color Field"
|
||||||
errorMessage={errors.color}
|
invalid={errors.color && touched.color}
|
||||||
>
|
errorMessage={errors.color}
|
||||||
<Field
|
>
|
||||||
type="text"
|
<Field
|
||||||
autoComplete="off"
|
type="text"
|
||||||
name="color"
|
autoComplete="off"
|
||||||
placeholder="Color"
|
name="color"
|
||||||
component={Input}
|
placeholder="Color"
|
||||||
/>
|
component={Input}
|
||||||
</FormItem>
|
/>
|
||||||
|
</FormItem>
|
||||||
|
</Tooltip>
|
||||||
|
|
||||||
<FormItem
|
<Tooltip
|
||||||
label="Icon Field"
|
title={
|
||||||
invalid={errors.icon && touched.icon}
|
'FaHome, FaUser, FaSearch, FaCog, FaBell etc. (react-icons/fa icons)'
|
||||||
errorMessage={errors.icon}
|
}
|
||||||
>
|
>
|
||||||
<Field
|
<FormItem
|
||||||
type="text"
|
label="Icon Field"
|
||||||
autoComplete="off"
|
invalid={errors.icon && touched.icon}
|
||||||
name="icon"
|
errorMessage={errors.icon}
|
||||||
placeholder="Icon"
|
>
|
||||||
component={Input}
|
<Field
|
||||||
/>
|
type="text"
|
||||||
</FormItem>
|
autoComplete="off"
|
||||||
|
name="icon"
|
||||||
|
placeholder="Icon"
|
||||||
|
component={Input}
|
||||||
|
/>
|
||||||
|
</FormItem>
|
||||||
|
</Tooltip>
|
||||||
|
|
||||||
<FormItem
|
<FormItem
|
||||||
label="Sub Title Field"
|
label="Sub Title Field"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue