ok my dog just had this kinda stuff and i had been told it was colidis which just means an upset stomach.
But when i took her to the vet they told me it was pancreatitis which is most common in yorkies and schnauzers . she spent 3 days in hospital with antibiotic injections 2times a day no food or water and she was on fluids
and they put her on special food.
i suggest go to the vet