🐛 fix(api): Server and order

This commit is contained in:
web@ppanel
2024-11-26 14:58:23 +07:00
parent 229d36bfec
commit 255bd8219c
17 changed files with 49 additions and 34 deletions
@@ -184,9 +184,9 @@ export default function SubscribeForm<T extends Record<string, any>>({
<FormControl>
<JSONEditor
title={t('form.description')}
value={field.value}
value={field.value && JSON.parse(field.value)}
onChange={(value) => {
form.setValue(field.name, value);
form.setValue(field.name, JSON.stringify(value));
}}
placeholder={{
description: 'description',