added List Input
This commit is contained in:
@@ -10,6 +10,7 @@ import { useState } from "react";
|
||||
import { deleteKeyword, upsertKeyword } from "../action";
|
||||
import { Button } from "../../../../_components/ui/Button";
|
||||
import { redirect } from "next/navigation";
|
||||
import { ListInput } from "_components/ui/List";
|
||||
|
||||
export const KeywordForm = ({ keyword }: { keyword?: Keyword }) => {
|
||||
const form = useForm<z.infer<typeof KeywordOptionalDefaultsSchema>>({
|
||||
@@ -69,11 +70,11 @@ export const KeywordForm = ({ keyword }: { keyword?: Keyword }) => {
|
||||
name="description"
|
||||
className="input-sm"
|
||||
/>
|
||||
<Input
|
||||
form={form}
|
||||
label="HPG Missionstypen"
|
||||
name="hpgMissionsType"
|
||||
<ListInput
|
||||
className="input-sm"
|
||||
control={form.control}
|
||||
name="hpgMissionsType"
|
||||
label="HPG Missions presets"
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user