Skip to content

Commit 9eba80f

Browse files
fix: dropdown callback calling twice
1 parent e50c565 commit 9eba80f

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

Src/Elements/Dropdown.luau

+1-8
Original file line numberDiff line numberDiff line change
@@ -451,13 +451,6 @@ function Element:New(Idx, Config)
451451

452452
Table:UpdateButton()
453453
Dropdown:Display()
454-
455-
if typeof(Dropdown.Callback) == "function" then
456-
Library:SafeCallback(Dropdown.Callback, Dropdown.Value)
457-
end
458-
if typeof(Dropdown.Changed) == "function" then
459-
Library:SafeCallback(Dropdown.Changed, Dropdown.Value)
460-
end
461454
end
462455
end
463456
end)
@@ -589,4 +582,4 @@ function Element:New(Idx, Config)
589582
})
590583
end
591584

592-
return Element
585+
return Element

0 commit comments

Comments
 (0)