diff --git a/misc/config_tools/configurator/packages/configurator/src/pages/Config/ConfigForm/CustomWidget/IVSHMEM_REGION.vue b/misc/config_tools/configurator/packages/configurator/src/pages/Config/ConfigForm/CustomWidget/IVSHMEM_REGION.vue index 2103269c4..6e5aac1c1 100644 --- a/misc/config_tools/configurator/packages/configurator/src/pages/Config/ConfigForm/CustomWidget/IVSHMEM_REGION.vue +++ b/misc/config_tools/configurator/packages/configurator/src/pages/Config/ConfigForm/CustomWidget/IVSHMEM_REGION.vue @@ -9,7 +9,10 @@ - + + + must have value + @@ -45,10 +48,16 @@ - + + + must have value + - +
@@ -148,6 +157,9 @@ export default { } }, methods: { + validation(value) { + return value.length != 0; + }, addSharedVM(vms, index) { // add new item after current item vms.splice(index + 1, 0, { @@ -175,11 +187,11 @@ export default { "IVSHMEM_VMS": { "IVSHMEM_VM": [ { - "VM_NAME": "PRE_RT_VM0", + "VM_NAME": "", "VBDF": "" }, { - "VM_NAME": "POST_STD_VM1", + "VM_NAME": "", "VBDF": "" } ] @@ -237,4 +249,4 @@ label:before { background: #f9f9f9; padding: 5px 5px 3px; } - \ No newline at end of file +