• Jobs
  • About Us
  • professionals
    • Home
    • Jobs
    • Courses and challenges
  • business
    • Home
    • Post vacancy
    • Our process
    • Pricing
    • Assessments
    • Payroll
    • Blog
    • Sales
    • Salary Calculator

0

153
Views
Fill input fields based on URL / BootstrapVue

I'm using BootstrapVue. Now I try to fill my input fields based on my URL..

My 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

Now it should fill my UserID b-form-input with 1234 and my Username b-form-input with Peter Parker

Is this possible? Thanks in advance !

almost 3 years ago · Juan Pablo Isaza
1 answers
Answer question

0

Try with:

this.$route.query.UserID

and

this.$route.query.Username
almost 3 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Our process Sales
Legal
Terms and conditions Privacy policy
© 2025 PeakU Inc. All Rights Reserved.

Andres GPT

Recommend me some offers
I have an error