Onions grow well on loamy, sandy loam and cultivated peat soils, and are demanding of lighting and soil moisture.
Onions have the most minimal requirements, like most cultivated plants. However, there is one miscalculation, due to which they grow bitter, like a radish.
The best predecessors to onions are cucumbers, tomatoes, potatoes, carrots, cabbage, and beans.
Sometimes gardeners feel that the soil is not good enough for onions, so they add additional superphosphates.
An increased dose of fertilizer will not bring any benefit, but will only worsen the situation. Usually, excessive bitterness appears due to drought and too "evil" sun. In such conditions, more substances responsible for bitterness accumulate in the bulb.
To get a softer taste, you need to organize proper care for the vegetable. In particular, if the weather is dry, water the onion once every 1-2 days so that the soil does not dry out completely. This plays an important role during the ripening period of the fruit.