This is an automated email from the ASF dual-hosted git repository.

baoyuan pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/apisix-dashboard.git


The following commit(s) were added to refs/heads/master by this push:
     new 9085c8039 fix(stream_routes): `protocol` related JSONInput config 
(#3118)
9085c8039 is described below

commit 9085c8039d29af0951c4e304be3ecb47b4f38351
Author: YYYoung <isk...@outlook.com>
AuthorDate: Mon Jun 16 09:19:47 2025 +0800

    fix(stream_routes): `protocol` related JSONInput config (#3118)
---
 src/components/form-slice/FormPartStreamRoute/index.tsx | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/components/form-slice/FormPartStreamRoute/index.tsx 
b/src/components/form-slice/FormPartStreamRoute/index.tsx
index 8b6bf1141..5c0bdf5ae 100644
--- a/src/components/form-slice/FormPartStreamRoute/index.tsx
+++ b/src/components/form-slice/FormPartStreamRoute/index.tsx
@@ -81,12 +81,14 @@ const FormSectionStreamRouteProtocol = () => {
         control={control}
         name="protocol.conf"
         label={t('form.streamRoutes.protocol.conf')}
+        toObject
       />
       <FormItemJsonInput
         control={control}
         name="protocol.logger"
         label={t('form.streamRoutes.protocol.logger')}
         toObject
+        objValue={[]}
       />
     </FormSection>
   );

Reply via email to