In normal input surrounded by form, when a user submits some data, the browser stores the input data as history for that specific input.
When a user returns to that input and starts writing that old value, the browser suggests the matching data from previous submits.
<form action="/action_page.php">
<label for="fname">First name:</label>
<input type="text" id="fname" name="fname"><br><br>
<input type="submit" value="Submit">
</form>
The code never triggers a submit in the SPA, so it lacks this functionality.
How can I provide such functionality using the native browser capabilities without submitting? I am not interested in code suggestion libraries, and I want only the native suggestion mechanism.