mirror of
https://github.com/Dokploy/dokploy
synced 2025-06-26 18:27:59 +00:00
fix: remove redundant selection api
This commit is contained in:
@@ -19,7 +19,6 @@ export const ToggleVisibilityInput = ({ ...props }: InputProps) => {
|
|||||||
const text = inputElement.value;
|
const text = inputElement.value;
|
||||||
|
|
||||||
inputElement.select();
|
inputElement.select();
|
||||||
inputElement.setSelectionRange(0, 99999);
|
|
||||||
navigator.clipboard.writeText(text);
|
navigator.clipboard.writeText(text);
|
||||||
|
|
||||||
toast.success("Value is copied to clipboard");
|
toast.success("Value is copied to clipboard");
|
||||||
|
|||||||
Reference in New Issue
Block a user