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. jimbobleeharry
    J
    • Profile
    • Following 0
    • Followers 0
    • Topics 2
    • Posts 2
    • Best 0
    • Groups 0

    jimbobleeharry

    @jimbobleeharry

    0
    Reputation
    1
    Profile views
    2
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    jimbobleeharry Follow

    Latest posts made by jimbobleeharry

    • QTree Question

      Hi all,

      I have been trying to get my Q tree select option to display more than one choice without luck.

      It works fine for displaying ticking and branches.

      My first post, so go easy! Here is the code which is no doubt riddled with mistakes because I am a teacher and not a coder!

      <template>
      <div class=“q-pa-md row q-col-gutter-sm”>
      <q-tree class=“col-12 col-sm-6”
      :nodes=“simple”
      node-key=“label”
      tick-strategy=“leaf”
      :selected.sync=“selected”
      :ticked.sync=“ticked”
      :expanded.sync=“expanded”
      />
      <div class=“col-12 col-sm-6 q-gutter-sm”>
      <div class=“text-h6”>Provision to implement </div>
      <div>{{ selected }}</div>

        <q-separator spaced />
      
        <div class="text-h6">Provision selected</div>
        <div>
          <div v-for="tick in ticked" :key="`ticked -${tick}`">
            {{ tick }}
          </div>
        </div>
      
        <q-separator spaced />
      
        <div class="text-h6">Provision branch</div>
        <div>
          <div v-for="expand in expanded" :key="`expanded -${expand}`">
            {{ expand }}
          </div>
        </div>
      </div>
      

      </div>
      </template>

      <script>
      export default {
      data () {
      return {
      simple: [
      {
      label: ‘Specalist School’,
      children: [
      {
      label: ‘Autism’,
      children: [
      { label: ‘Visual Timetable’ },
      { label: ‘Time boundary activities with a Visual Timer’ },
      { label: ‘Now and Next board’ },
      { label: ‘Open communication with the young persons name’ },
      { label: ‘Visual Cues to support key words’ },
      { label: ‘Use their passion as a motivator’ },
      { label: ‘Give them time to finish activities e.g. Talking/ Stimming/ etc.’ },
      { label: ‘Time limited exercises’ }
      ]
      },
      {
      label: ‘ADHD’,
      disabled: false,
      children: [
      { label: ‘Time boundaried activities’ },
      { label: ‘Reduce distractions’ },
      { label: ‘Frequent feedback and opportunities to share work’ },
      { label: ‘Positive behaviour chart’ },
      { label: ‘Multiple shorter tasks’ },
      { label: ‘Frequent breaks’ },
      { label: ‘Refocusing activities’ }
      ]
      },
      {
      label: ‘Learning Barriers’,
      children: [
      { label: ‘Pre-teaching’ },
      { label: ‘Repeated activites’ },
      { label: ‘Identify prefered learning style / Auditory/ Kinestethic/ Visual?’ }
      ]
      }
      ]
      }
      ],
      selected: ‘’,
      ticked: [’’],
      expanded: [’’]
      }
      }
      }
      </script>

      If this makes no sense I am sorry. I need the ‘Provision to implement’ to work when more than one provision is clicked on.

      Thanks in advance!

      Jamie

      posted in Help
      J
      jimbobleeharry
    • Using Radar/ Spider graphs

      Hello all, I was hoping to collect ideas on how to use radar/ spider graphs based on user data?

      Appreciate any help!

      I have not started to incorporate anything yet so open to all suggestions.

      Cheers,

      posted in Help
      J
      jimbobleeharry