- вам что?
- шоколадных конфет.

Why not "шоколадные конфеты"? There is no numeral or other qualifier of number. Also in case of genitive he shoud ask "вам чего".