23 month old hasn’t been eating past one and half month help!

my daughter suddenly refused to eat about 1.5 month ago she was such a good eater and then suddenly she wasn’t even willing to try a bite it has been so stressful i started giving her pediasure bcx she hadn’t eaten a single bite in a few days and now she seems to only want milk i think we’ve made some progress past few days she’ll eat a few bites of anything a make her but i highly doubt that’s enough i need help desperately i dont want her to start losing weight😭😭😭 has anyone else experienced this with their toddlers is this a phase? she has done this in the past but never more than 2-3 weeks

she wont eat fruit veggies nothing she’ll take a few butes of rice but that’s about it and pnscake sometimes