Dark mod düzenlemesi
This commit is contained in:
parent
312f784e3e
commit
f02a0f8830
2 changed files with 6 additions and 4 deletions
|
|
@ -1350,7 +1350,7 @@ public class ListFormSeeder_Saas : IDataSeedContributor, ITransientDependency
|
|||
DeleteCommand = DefaultDeleteCommand(nameof(TableNameEnum.ContactTitle)),
|
||||
DeleteFieldsDefaultValueJson = DefaultDeleteFieldsDefaultValueJson(),
|
||||
PagerOptionJson = DefaultPagerOptionJson,
|
||||
EditingOptionJson = DefaultEditingOptionJson(listFormName, 400, 200, true, true, true, true, false),
|
||||
EditingOptionJson = DefaultEditingOptionJson(listFormName, 400, 400, true, true, true, true, false),
|
||||
EditingFormJson = JsonSerializer.Serialize(new List<EditingFormDto>
|
||||
{
|
||||
new() {
|
||||
|
|
|
|||
|
|
@ -1,5 +1,6 @@
|
|||
import { useState } from 'react'
|
||||
import { GridExtraFilterState } from './Utils'
|
||||
import { useLocalization } from '@/utils/hooks/useLocalization'
|
||||
|
||||
export function GridExtraFilterToolbar({
|
||||
filters,
|
||||
|
|
@ -12,6 +13,7 @@ export function GridExtraFilterToolbar({
|
|||
}) {
|
||||
// input için geçici state tutuyoruz
|
||||
const [inputValues, setInputValues] = useState<Record<string, string>>({})
|
||||
const { translate } = useLocalization()
|
||||
|
||||
return (
|
||||
<div className="flex gap-4">
|
||||
|
|
@ -42,11 +44,11 @@ export function GridExtraFilterToolbar({
|
|||
|
||||
{fs.controlType === 'Select' ? (
|
||||
<select
|
||||
className="border rounded px-0.5 py-0.5"
|
||||
className="border rounded px-1.5 py-1.5 dark:bg-gray-700 dark:text-white"
|
||||
value={current?.value ?? ''}
|
||||
onChange={(e) => handleSave(e.target.value)}
|
||||
>
|
||||
{!fs.defaultValue && <option value="">Seçiniz</option>}
|
||||
{!fs.defaultValue && <option value="">{translate('::App.Select')}</option>}
|
||||
{fs.items?.map((item: any) => (
|
||||
<option key={item.key} value={item.key}>
|
||||
{item.value}
|
||||
|
|
|
|||
Loading…
Reference in a new issue