Try running the code in Safari by visiting this link: https://jsfiddle.net/gkatsanos/2355m5ds/
In Safari, I noticed that when I change the .val() of an input field without manually focusing on it, the placeholder text remains visible. https://i.sstatic.net/C9zQk.png
$('a').on('click', () => {
$('#stuff').val('lala');
});
input {
width: 500px;
}
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
<form>
<input id="stuff" type="text" placeholder="This Won't get removed in Safari when we change the value of the input">
<a href="#">Click this</a>
</form>