function set_input(input, field, value) {
			input[field] = value;
			input.dispatchEvent(
				new Event(typeof value === 'boolean' ? 'change' : 'input', { bubbles: true })
			);
		}
@param {any} input
@param {string} field
@param {any} value