There's an issue. After creating a directory type, the category dropdown shows many categories even before setting the name. But after selecting a category and updating, the category field becomes empty again http://tiny.cc/mpvo001
Old Issue, will fix it on another release.
Originally posted by @iamibrahimriaz in #2418 (comment)