BigW Consortium Gitlab

Commit ab42560e by Alfredo Sumaran

Return selected object if toggleLabel option is not defined

parent ff676333
...@@ -353,6 +353,8 @@ class GitLabDropdown ...@@ -353,6 +353,8 @@ class GitLabDropdown
if @options.toggleLabel if @options.toggleLabel
$(@el).find(".dropdown-toggle-text").text @options.toggleLabel $(@el).find(".dropdown-toggle-text").text @options.toggleLabel
else else
selectedObject
else
if !value? if !value?
field.remove() field.remove()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment