The dream in which you see the onion could indicate the difficult problem that is not easy to see in the first place. You have to dig deeper and deeper in order to see clearly. The onion could also indicate the growth of you as the personality. The onion could also represent some person in your waking life that is difficult to understand.
Onion dream meaning
Read more about dreaming of Onion in other dream meanings interpretations.