Save in browser password and username where username from <select> element

Simple login form

<form>
<select id="accessLevel" autofocus>
    <option value="1">View</option>
    <option value="2">Control</option>
    <option value="3">Service</option>
</select>
<input id="password" type="password" required>
<button type="submit">Login</button>
</form>

Is there any way to store chosen text in element as username in “save password” function of browsers.


Source: stackoverflow-javascript