autocompletion for distribution input field

fixes #WEBINTERFACE-261