I was told to stop formula at 12m. My LO isn’t allergic or reactive to cows milk but we have dairy free alternatives and as he is almost 2 he has never had any issues. I had to stop breastfeeding him at 6m despite wanting to continue on until he was 1. Baby is definitely not too young to be self weaning
If a child is self weaning then no, I would not be giving them formula or other milks. Milk gives calcium, water, fat and carbohydrates and breastmilk gives the addition of immune complexes and other good things. If they're not having breastmilk then you just need to give the milk components in other ways. No other mammal drinks milk past infancy and it's expected that as the child eats more.solids then their milk intake breast or otherwise is going to reduce.
Also to add at this age milk supply is very well established and short term changes to demand aren't going to affect it much. At 19 months bear in mind it's only 5 months at most to two years. I left my son for a few days just before age 3 and when I came home we went straight back to his usual feeding pattern.
No answer on the allergy/formula part but it’s very unlikely she’d be self weaning so young. I expect it’s to do with the cold or a nursing strike x