From dc350ae62c3f55e2a6e1f2065a9125f947e9b381 Mon Sep 17 00:00:00 2001 From: Ryan Wang Date: Tue, 27 Feb 2024 16:53:13 +0800 Subject: [PATCH] fix: missing code validation label in signup form (#5409) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit #### What type of PR is this? /area ui /kind bug /milestone 2.13.0 #### What this PR does / why we need it: 修复注册表单中,验证码的验证提示文字无法显示表单项标题的问题。 before: image after: image #### Does this PR introduce a user-facing change? ```release-note None ``` --- ui/src/components/signup/SignupForm.vue | 1 + 1 file changed, 1 insertion(+) diff --git a/ui/src/components/signup/SignupForm.vue b/ui/src/components/signup/SignupForm.vue index dbba73946..b575b4af3 100644 --- a/ui/src/components/signup/SignupForm.vue +++ b/ui/src/components/signup/SignupForm.vue @@ -208,6 +208,7 @@ const sendVerifyCodeButtonText = computed(() => { type="number" name="code" :placeholder="$t('core.signup.fields.verify_code.placeholder')" + :validation-label="$t('core.signup.fields.verify_code.placeholder')" validation="required" >