mirror of
https://github.com/logto-io/logto.git
synced 2024-12-30 20:33:54 -05:00
fix(console): redirectUri input error message should be displayed properly (#4440)
This commit is contained in:
parent
f1ded1168b
commit
edfb0e9950
1 changed files with 1 additions and 1 deletions
|
@ -89,7 +89,7 @@ function UriInputField({ name, defaultValue }: Props) {
|
|||
defaultValue={defaultValueArray}
|
||||
rules={{
|
||||
validate: createValidatorForRhf({
|
||||
required: t('errors.required_field_missing_plural', { field: title }),
|
||||
required: t('errors.required_field_missing_plural', { field: t(title) }),
|
||||
pattern: {
|
||||
verify: (value) => !value || uriValidator(value),
|
||||
message: t('errors.invalid_uri_format'),
|
||||
|
|
Loading…
Reference in a new issue