From 68231a418d47f5782c916167aecf976a0074c4bf Mon Sep 17 00:00:00 2001 From: Wan <495709+wa0x6e@users.noreply.github.com> Date: Mon, 2 Dec 2024 17:39:12 +0800 Subject: [PATCH] fix: improve error message when checksum address is expected (#4944) * fix: improve error message when checksum address is expected * fix: remove unrelated import --- src/components/SpaceSplitDelegationRow.vue | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/components/SpaceSplitDelegationRow.vue b/src/components/SpaceSplitDelegationRow.vue index 0b696527d2c1..3d68e254f761 100644 --- a/src/components/SpaceSplitDelegationRow.vue +++ b/src/components/SpaceSplitDelegationRow.vue @@ -24,7 +24,12 @@ const definition = { } }, required: ['to', 'weight'], - additionalProperties: false + additionalProperties: false, + errorMessage: { + properties: { + to: 'Must be a valid checksum address' + } + } }; const props = defineProps<{