Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

127
Views
Vue JS how to create array of strings from FormulateInput

I'm using below FormulateForm to have input field with the submit button:

<div class="col-12 col-md-3">
  <FormulateInput
  name="product_codes"
  label="Style number"
  placeholder="Style number"
  />
</div>

<div class="col-12 col-md-3">
  <button
    type="button"
    class="btn btn-primary"
    @click="syncProducts"
  >
    Sync
  </button>
</div>

I want to sent this input data to BE as an array:

<script>

export default {
  name: 'SyncProducts',
  data() {
    return {
      styleCodes: [],
    }
  },
}
</script>

But with this code, instead of Array of String, it sends it as a String.

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!