mirror of
https://github.com/zulip/zulip.git
synced 2025-11-12 18:06:44 +00:00
tooltips: Fix incorrect "required" tooltip on custom profile fields.
Previously, "This profile field is required." tooltip was visible on all custom profile fields, including those that were not required. This commit fixes that by targeting only the required fields.
This commit is contained in:
@@ -612,7 +612,7 @@ export function initialize(): void {
|
||||
});
|
||||
|
||||
delegate("body", {
|
||||
target: ".custom-user-field-label-wrapper",
|
||||
target: ".custom-user-field-label-wrapper.required-field-wrapper",
|
||||
content: $t({
|
||||
defaultMessage: "This profile field is required.",
|
||||
}),
|
||||
|
||||
Reference in New Issue
Block a user