No More Posting New Topics!

If you have a question or an issue, please start a thread in our Github Discussions Forum.
This forum is closed for new threads/ topics.

Navigation

    Quasar Framework

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    1. Home
    2. Kentoncloud
    K
    • Profile
    • Following 0
    • Followers 0
    • Topics 2
    • Posts 4
    • Best 0
    • Groups 0

    Kentoncloud

    @Kentoncloud

    0
    Reputation
    20
    Profile views
    4
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    Kentoncloud Follow

    Latest posts made by Kentoncloud

    • RE: Q-uploader Manually Add Files

      I solved this by

      this.$refs.uploader.addFiles([file])

      posted in Framework
      K
      Kentoncloud
    • Q-uploader Manually Add Files

      Hi there,

      Do you have any sample on how to manually add files? I have successfully uploaded the images but repopulating it seems confusing.

      My code:

      mounted(){
      if (this.locProduct.images != null) {
            for (var i = 0; i < this.locProduct.images.length; i++) {
              let fileName = this.locProduct.images[i].name
              let url = this.locProduct.images[i].path_url
      
              // Add file size to the database images
              let file = {
                id: this.locProduct.images[i].id,
                size: 123,
                type: fileName.split('.').pop(),
                name: fileName,
                __img: {
                  src: url
                }
              }
              console.log(file)
              this.added([file])
            }
          }
      }
      
      methods: {
      added (files) {
            console.log(files)
            this.selectedFile.push(files[0])
          },
      }
      
      posted in Framework
      K
      Kentoncloud
    • RE: Q-Select 1.0.beta

      `computed: {
      selectedProvince: {
      get () {
      return _.find(this.provinces, {
      value: this.user.address.province_id
      })
      },
      set (val) {
      this.setProvinceId(val)
      }
      },

      }`

      posted in Framework
      K
      Kentoncloud
    • Q-Select 1.0.beta

      Hi everyone,
      I have a very simple q-select that works in 0.17.* but is doesn’t work now in 1.0.beta
      <q-select v-model="user.address.province_id" :options="provinces" label="Province" class="q-ma-md" />

      The options="provinces" works fine it displays all the provinces however it doesn’t select automatically on the provinces array.

      Here is the picture.
      0_1550638446644_Capture.PNG

      Before it works fine on the previous version. Thanks.

      posted in Framework
      K
      Kentoncloud