Usually for such scenes they add an extra piece of cloth to the saree that is burned and can be detached easily. I think I saw it in Jafar's BTS.
Yes, it was a special type of fabric which contained the fire otherwise kaunsi saree ka pallu itna lamba hota hai