Container type error

Fix an error when trying to create a container and the type has not been selected