rubanraj54 / vue-bootstrap4-table

Advanced table based on Vue 2 and Bootstrap 4 ⚡️
MIT License
219 stars 57 forks source link

Feature to customize the placeholder for the "Go to page" field. #84

Closed whande1992 closed 4 years ago

whande1992 commented 4 years ago

New feature made available to customize the placeholder in the paging component, for the "Go to page" field.

 config: {
                    pagination: true,
                    pagination_info: true,
                    num_of_visibile_pagination_buttons: 7,
                    per_page: 10,
                    per_page_desc:"Go to page",
                    page:1,
                    checkbox_rows: true,
                    highlight_row_hover: true,
                    rows_selectable: true,
                    multi_column_sort: false,
                    // highlight_row_hover_color:"grey",
                    card_title: "Vue Bootsrap 4 advanced table",
                    global_search: {
                        placeholder: "Enter custom Search text",
                        visibility: true,
                        case_sensitive: false, // default false
                        showClearButton: true,
                        class: "test",
                        // searchOnPressEnter: true,
                        searchDebounceRate: 1000,
                        // init: {
                        //     value: "Christine"
                        // }
                    },
rubanraj54 commented 4 years ago

Thanks for the contribution..

livevasiliy commented 4 years ago

@rubanraj54 Hello, I have problem I try customize the placeholder via new param "per_page_desc", but it's param give null effect. I viewed source your code and found what not override placeholder. image