JSFiddle - React, Tailwind, and code Playground

HTML

<form action="/wp-comments-post.php" method="post" id="comment_form">
</form>

JavaScript

jQuery('#comment_form')[0].encoding = 'multipart/form-data';