Can the filter element in the water purifier be cleaned with detergent?

My family uses a water purifier of Beschen brand. When I bought it, the seller said that the yellow one on the filter was dropped with a toothbrush. It took me less than a month. I want to take it off and wash it today, but I can't wash it off. Later, I soaked it in detergent, which was very useful. After soaking for a while, the yellow color on the filter element disappeared. I would like to ask whether the detergent is toxic and whether the filter element soaked with detergent can still be used. Thank you.