Pickled onions with no sugar can be kept in the fridge for 2 weeks. After that, the vinegar might be a bit cloudy. The onions might start to degrade and loose their texture.