Utilizing BootstrapVue
, I am attempting to populate my input fields based on the URL provided.
This is my current code:
<template>
<div class="col-md-6 mt-3">
<div class="mt-2">ID</div>
<b-form-input type="number"></b-form-input>
<div class="mt-2">Name</div>
<b-form-input type="text"></b-form-input>
</div>
</template>
My
URL: localhost:8080/?UserID=1234&Username=Peter_Parker
Can the UserID b-form-input be populated with 1234 and the Username b-form-input with Peter Parker from the URL parameters?
Your help is appreciated. Thank you in advance!