feat: implement category update functionality with validation and new fields in form
This commit is contained in:
@@ -75,7 +75,7 @@ export const FormContentsPage = (properties: TProperties) => {
|
||||
fetcher,
|
||||
resolver: zodResolver(contentSchema),
|
||||
values: {
|
||||
id: newsData?.id || '',
|
||||
id: newsData?.id || undefined,
|
||||
categories: newsData?.categories || [],
|
||||
tags: newsData?.tags || [],
|
||||
title: newsData?.title || '',
|
||||
|
||||
Reference in New Issue
Block a user