function set_default_value(element, value) {
	const existing_value = element.value;
	element.defaultValue = value;
	element.value = existing_value;
}
Applies the default value property without influencing the current value property.
@param {HTMLInputElement | HTMLTextAreaElement} element
@param {string} value