Element-UI how to set default filter value in column filters

Element-ui version 2.1.0

<el-table-column
  prop="tag"
  label="Tag"
  width="100"
  :filters="[{ text: 'Home', value: 'Home' }, { text: 'Office', value: 'Office' }]"></el-table-column>

I want to set Office to default at first. I can't find any help in document.



Read more here: https://stackoverflow.com/questions/48677015/element-ui-how-to-set-default-filter-value-in-column-filters

Content Attribution

This content was originally published by user1434702 at Recent Questions - Stack Overflow, and is syndicated here via their RSS feed. You can read the original post over there.

%d bloggers like this: