· 7 years ago · Jun 16, 2018, 06:46 PM
1ORDERS:
2 -LEs1FCRFIqvpDnqTxIF
3 - 0
4 adress: ""
5 comment: ""
6 email: "*****@yandex.ru"
7 firstname: "gary"
8 in_work: false
9
10<p>
11 <input type="checkbox" id="checkbox" v-model="order['.value'][0]['in_work']" v-on:click="checkbox_value(order['.key'])">
12 <label for="checkbox">IN WORK</label>
13 </p>
14
15methods:{
16 checkbox_value(key){
17 OrdersRef.child(key)[0].update({in_work : true});
18 }