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. olaf
    3. Topics
    O
    • Profile
    • Following 0
    • Followers 0
    • Topics 9
    • Posts 21
    • Best 2
    • Groups 0

    Topics created by olaf

    • O

      How to extend a dialog
      Help • • olaf

      5
      0
      Votes
      5
      Posts
      709
      Views

      J

      @olaf my bad, was a typo but it works. I misspelled to prop. You can check, it’s working now.

      vue-inheritance is the same principle as inheritance in pug. You extend the child template 🙂

    • O

      How to use a parent (Dialog) component
      Help • • olaf

      5
      0
      Votes
      5
      Posts
      2005
      Views

      O

      Hi @jraez ,

      Thanks for your help! I have tried it, but it is still broken.
      I didn’t like the dialog plugin approach, so have recreated a similar topic with a different approach: https://forum.quasar-framework.org/topic/5541/how-to-extend-a-dialog

      Perhaps you can look into this?

    • O

      How to scrollTo a row in a sorted table.
      Help • • olaf

      4
      1
      Votes
      4
      Posts
      229
      Views

      metalsadman

      @olaf the for loop should perf better, but wouldn’t matter much if the data is not too big.

    • O

      Pass object as property to a template looses reactivity
      Help • • olaf

      10
      0
      Votes
      10
      Posts
      614
      Views

      O

      @muffin_mclay
      I changed it by use v-model instead of :value. This works now, but I don’t understand it completely. I thought you need to use :value to bind a input to a prop, but when you use an object it doesn’t. Strange isn’t it?

      Here is my code now:

      <!-- caller uses this method to set the 'treat' <treats-object-editor :treat="selectedTreat"/> --> <template> <q-card-section class="q-gutter-sm"> <div class="text-h6">Object in props</div> <div class="text-h6">Use v-model to edit field of Object</div> <q-input outlined v-model="treat.name" label="Name"/> <q-input outlined v-model="treat.calories" label="Calories"/> </q-card-section> </template> <script> export default { props: { treat: Object } } </script>
    • O

      Quasar inputs are not reactive in dynamic forms
      Help • • olaf

      3
      0
      Votes
      3
      Posts
      363
      Views

      O

      Hi,

      I found a solution. I had to change @input="$emit('input',$event.target.value)" into @input="$emit('input', $event)"

    • O

      Quasar Codesandbox gives an error: 502: Bad Gateway
      Help • • olaf

      2
      0
      Votes
      2
      Posts
      179
      Views

      metalsadman

      @olaf fork it.

    • O

      How to programmatically scrollTo a row in a QTable
      Help • • olaf

      4
      0
      Votes
      4
      Posts
      600
      Views

      O

      hi @Pratik-Patel

      Thanks for your solution. There is one issue now.
      I actually have got a full height table with a fixed header. I have add the css for that in you codepen approach.

      I have update the scrollto method to jump to row 60.
      When you scroll down beyond row 60 and press the button it scrolls to row 61. Row 60 is behind the table header.

      It also does not update the table repaints correct. The table has got some blurred lines. Scroll to row 0. Then press to the button. You will see it jumps to row 60 as last row, but the first 4 rows are blurred.

      Do you (or somebody else) have got an idea how to fix this?

    • O

      How to programmatically scrollTo a row in a QTable
      Framework • • olaf

      1
      0
      Votes
      1
      Posts
      38
      Views

      No one has replied

    • O

      input v-model does not bind correct
      Framework • • olaf

      2
      0
      Votes
      2
      Posts
      247
      Views

      H

      Any luck with this? Were you able to solve this?