add allowsNull option in select component