In Judges chapter 11 Yiftach vows to dedicate whatever first comes out of the doors of his home to God (perhaps to be sacrificed as an offering) should he be victorious in battle.
After his victory he comes home and it is his daughter who come out. He tells her what he must do and instead of refusing to be subservient to his vow she says (36):
וַתֹּאמֶר אֵלָיו אָבִי פָּצִיתָה אֶת־פִּיךָ אֶל־ה' עֲשֵׂה לִי כַּאֲשֶׁר יָצָא מִפִּיךָ אַחֲרֵי אֲשֶׁר עָשָׂה לְךָ ה' נְקָמוֹת מֵאֹיְבֶיךָ מִבְּנֵי עַמּוֹן׃
“Father,” she said, “you have uttered a vow to the LORD; do to me as you have vowed, seeing that the LORD has vindicated you against your enemies, the Ammonites.”
According to the gemarah (Taanit 4a) Yiftach offered her as a sacrifice. Yet I would assume his daughter would be obligated under the command of וְחי בהם to do whatever is in her power not to be killed. But even according to the opinions (Radak, Ralbag etc.) who assume she was dedicated to God in a manner similar to Shmuel HaNavi, I don't see why the daughter would have to comply. Perhaps it is possible that she wanted to comply even without any true obligation to do so, but I have not seen any commentators who make this claim.
Therefore my question is did Yiftach's daughter have to comply with his vow and if not, why did she?