--Create suggestion labels

local function createSuggestionLabels(props)
	for i = 1,props.maxSuggestions do
		local label = props.rframe.LabelTemplate:Clone()
		label.Name = "Label"..i
		label.Visible = false
		label.Parent = props.rframe
		label.MouseEnter:Connect(function()
			props.suggestionPos = i
		end)
		label.MouseButton1Up:Connect(function()
			props.suggestionPos = i
			selectSuggestion(props)
		end)
	end
end
