Skip to content

Commit

Permalink
fix: remove browser tooltips for inputs (#1120)
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew-Orlov committed May 31, 2024
1 parent 73ea312 commit 4e105f6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions client-app/ui-kit/components/molecules/input/vc-input.vue
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@
:step="stepValue"
:autocomplete="autocomplete"
:aria-label="ariaLabel ?? label"
:title="browserTooltip === 'enabled' ? message : ''"
class="vc-input__input"
@keydown="keyDown($event)"
@click.prevent.stop="inputClick()"
Expand Down Expand Up @@ -108,6 +109,7 @@ export interface IProps {
type?: "text" | "password" | "number" | "email";
size?: "sm" | "md" | "auto";
clearable?: boolean;
browserTooltip?: "enabled" | "disabled";
selectOnClick?: boolean;
}
Expand All @@ -118,6 +120,7 @@ defineOptions({
const props = withDefaults(defineProps<IProps>(), {
type: "text",
size: "md",
browserTooltip: "disabled",
});
const componentId = useComponentId("input");
Expand Down

0 comments on commit 4e105f6

Please sign in to comment.