wxs77577 / rest-admin

Restful Admin Dashboard Based on Vue and Boostrap 4
http://rest-admin.genyii.com
MIT License
623 stars 128 forks source link

Table component #15

Closed lixaotec closed 5 years ago

lixaotec commented 5 years ago

Dear Fellows,

I couldnt use the table component, it renders the table header, but with neighter action buttons (for add) nor data row.

Could you provide some working example?

Thanks

wxs77577 commented 5 years ago

Please follow the usage guide and provide detailed error logs from console.

lixaotec commented 5 years ago

Dear @wxs77577 , thx for the quickly response.

I don´t think its a bug at all, I see no errors in console.

I am just curious to see how it works, but I´m not too experienced

I used the example field steps, and sent a shot down there:

  "steps": { "type": "array", "group": "Steps", is_table:true, "fields": {
      "name": { "label": "Name" },
      "date": { "label": "date", type: 'date'}
    },

image

Just wondering if you have more examples or tell me what is wrong with my code

lixaotec commented 5 years ago

Btw dear @wxs77577 ,

Do you have any example of using vue-select with relations like in a order - products scenario?

I´m struggling to acocmplish that, with a select2 component with remote filter/search to find products, and to add multiple in a order with custom fields, like qtd.

Can you provide me tips in order to accomplish it with rest-admin?

Thanks

wxs77577 commented 5 years ago

The latest demo api has been updated, please refer to: https://github.com/wxs77577/rest-admin/blob/master/api/index.js#L177