Apparently enough of an issue to warrant some stop, drop and roll advice, The Modern Receipt Book (1824) offered ways to prevent and treat flammable wardrobe situations:
Several modern articles have been written about this problem, so if you are interested to dive in check these out:
https://www.racked.com/2017/12/19/16710276/burning-dresses-history
https://boingboing.net/2017/12/22/bobbinet-muslin-gauze-tarlatan.html
https://www.buzzfeed.com/agh/1800s-victorian-fire-women-burning-alive-fashion