Comments (2)
<template>
<div v-for="item in desserts" :key="item.name">{{ item }}</div>
<v-data-table>
<thead>
<tr>
<th class="text-left">
Name
</th>
<th class="text-left">
Calories
</th>
</tr>
</thead>
<tbody>
<tr v-for="item in desserts" :key="item?.name">
<td>{{ item?.name }}</td>
<td>{{ item?.calories }}</td>
</tr>
</tbody>
</v-data-table>
</template>
<script>
export default {
data () {
return {
desserts: [
{
name: 'Frozen Yogurt',
calories: 159,
},
{
name: 'Ice cream sandwich',
calories: 237,
},
{
name: 'Eclair',
calories: 262,
},
{
name: 'Cupcake',
calories: 305,
},
{
name: 'Gingerbread',
calories: 356,
},
{
name: 'Jelly bean',
calories: 375,
},
{
name: 'Lollipop',
calories: 392,
},
{
name: 'Honeycomb',
calories: 408,
},
{
name: 'Donut',
calories: 452,
},
{
name: 'KitKat',
calories: 518,
}
]
}
}
}
</script>
If we just do a direct loop (outside of the Vuetify component), then this renders without any issues:
So something about how the loop inside the Vuetify component runs is causing our problems.
from node-red-dashboard.
Workaround is to use the :items
property of a v-data-table
from node-red-dashboard.
Related Issues (20)
- Chart: complete chart data is not send out HOT 1
- Dashboard 2.0 Sidebar: Theme line on Layout page HOT 2
- Navigation Bar does not collapse after page change HOT 4
- Dashboard opens not the first page by default
- Docs: Update docs homepage with improved links and CTAs HOT 5
- FR: Notification: display center as Modal\Lightbox HOT 1
- FR Notification: ability to close a notification with an input message HOT 5
- FR Table: row stays highlighted after click \ select HOT 1
- Gauge Type: Tile
- Dashboard Buttons Not Using Custom Theme HOT 8
- ui-template nodes not receiving messages after network disconnection/recovery. HOT 1
- Chart - enable usage of left & right 'y' axis HOT 1
- Bar chart incorrect history load
- SubFlow is not counted for config node `ui-group` usage
- Stale data not being weeded from chart HOT 1
- ui-dropdown doesn't clear selection with msg.payload = [] HOT 8
- FF Auth is hard-coded into tab creation, making plugins impossible HOT 2
- Plugins: Dashboard Sidebar Tabs don't scale to text HOT 1
- Allow form elements to be pre-filled HOT 2
- Navigating away from page causes Gauge to re-render incorrectly HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from node-red-dashboard.