Found an error with the dropdown as it was not displaying. It was a simp...

I was using this in a project but the dropdown won't appear. I just had to add the dropdown property to make it work.