Display Boolean on Vuetify dataTable Display Boolean on Vuetify dataTable vue.js vue.js

Display Boolean on Vuetify dataTable


Process and print data using methods.

try this.

<td class="text-xs-right">{{ computedOn(props.fixture.on) }}</td>
export default {  methods: {    computedOn (value) {      return String(value)    }  }}

UPDATE

Modifying original data due to vuetify bughttps://github.com/vuetifyjs/vuetify/issues/8554

export default {  mounted() {    http.get('fixture/client')      .then(result => {        this.fixtures = result.map(value => {          value.on = String(value.on)        })      })      .catch(error => {        console.error(error);    });  }}