From 8169c5af59ea9fa0d36eca1882f220b04f756a49 Mon Sep 17 00:00:00 2001 From: Patricia Reinoso Date: Thu, 1 Aug 2024 14:24:15 +0200 Subject: [PATCH] disable editin mcc and mnc in NS --- components/NetworkSliceModal.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/components/NetworkSliceModal.tsx b/components/NetworkSliceModal.tsx index e8f2c144..9fd96065 100644 --- a/components/NetworkSliceModal.tsx +++ b/components/NetworkSliceModal.tsx @@ -226,6 +226,7 @@ const NetworkSliceModal = ({ networkSlice, toggleModal }: NetworkSliceModalProps placeholder="001" stacked required + disabled={networkSlice ? true : false} // Workaround for https://github.com/omec-project/webconsole/issues/200 {...formik.getFieldProps("mcc")} error={formik.touched.mcc ? formik.errors.mcc : null} /> @@ -237,6 +238,7 @@ const NetworkSliceModal = ({ networkSlice, toggleModal }: NetworkSliceModalProps placeholder="01" stacked required + disabled={networkSlice ? true : false} // Workaround for https://github.com/omec-project/webconsole/issues/200 {...formik.getFieldProps("mnc")} error={formik.touched.mnc ? formik.errors.mnc : null} />