1,637 questions
2
votes
1
answer
148
views
Why does the v-bind shortcut : cannot be used for this property in this bootstrap-vue table?
I refer to this stackoverflow answer.
How to remove (Click to sort Ascending) text from header of every column in this bootstrap-vue table?
The correct answer is below;
<b-table
⋮
label-sort-asc=&...
0
votes
1
answer
93
views
How to write to bootstrap-vue table fields with non-latin letters?
I want to write a table in the Cyrillic alphabet, but in the program the key of the object should be only in the Latin alphabet.
Code :
export default {
data() {
return {
wmsFields: ['№', '...
0
votes
1
answer
888
views
Show tooltip when user moves mouse on column name of bootstrap-vue table
I have a bootstrap-vue table that looks like this;
Here's the code for the table;
<template>
<div>
<b-table striped hover :items="items" :fields="fields">&...
0
votes
1
answer
1k
views
How to show first b-collapse used it with v-for?
I want to show only first b-collapse on first render.
<div v-for="(item, index) in items">
<b-button v-b-toggle="`collapse-${ item.id }`" class="m-1">{{ ...
0
votes
1
answer
505
views
VueJS Sortable Table Except Specific Rows
Assuming I have this code for a v-table implementing sortable:
<script>
export default {
data() {
return {
sortBy: 'age',
sortDesc: false,
fields: [
...
0
votes
3
answers
1k
views
Conditionally change text color in BootstrapVue table
I have a table created using bootstrap-vue.
Table looks like this;
The code for this table is as follows;
<template>
<div>
<b-table striped hover :items="items" :fields=...
0
votes
2
answers
1k
views
Add percentage sign to column of numbers in bootstrap-vue table
Suppose I have this table created using bootstrap-vue.
Table looks like this;
The code for this table is as follows;
<template>
<div>
<b-table striped hover :items="items&...
1
vote
1
answer
696
views
Bootstrap vue datepicker: value date shows outside input field
using veevalidate
when I inspect it: the date shows in a label under the input
<b-form-datepicker
:name="el.label"
:ref="el.field"
...
0
votes
1
answer
698
views
How to change default color of element in vue-bootstrap
In my b-table i have a function that colors the rows based on a property :
<template>
<b-table sticky-header="70vh" bordered striped
:items="logs"
...
0
votes
1
answer
723
views
Get value of b-table cell in modal window
Looking for assistance on how to pull in the value from a bootstrap vue table within a modal window. Currently, it generates the modal, however the contents for the variable {{ interface_records....
0
votes
1
answer
1k
views
vue.js How to get Label from selected Radio Button to show in Preview
I have a form built with bootstrap-vue. The form contains some Radio buttons. I do have a preview button which should show what was selected, but instead of the value from the radio button I would ...
0
votes
2
answers
982
views
How to center Bootstrap Vue pagination under table?
I have a Bootstrap Vue table with a pagination component underneath it. I've currently got it in a separate row in a single column but whilst it looks "fairly" centred, it's actually not ...
0
votes
1
answer
435
views
Conditional Ternary Operator for v-model
I'm trying to do the following in my Vue application:
<template v-slot:cell(selected)="{ item }" >
<b-checkbox
v-model="item.selected != undefined ? item.selected : ...
1
vote
1
answer
135
views
Hyperlinking table data from API with vue-router
I'm taking in and displaying data from an API (https://restcountries.com/), but I'm having trouble hyperlinking each table entry to its own page with the router-link tag. Nothing happens, no errors, ...
4
votes
6
answers
2k
views
How to align two form input boxes with each other?
I have a modal with a form (using Bootstrap-Vue and Vue2). Each row has two fields. If user does not enter a valid value to the field, the state of the field returns false, making the box to be ...
2
votes
2
answers
593
views
How to use the Form File Input widget of Bootstrap-Vue in RTL application?
I'm using the Form File Input of Bootstrap-Vue. Since my application in RTL, I want to reverse it. The current code:
<b-form-file
class="modal-input"
v-model="fileLocation"
...
1
vote
1
answer
481
views
Vue Bootstrap dropdown items color changing
Hello I'm making a vertical menu with Vue Bootstrap 4
<b-dropdown id="dropdown-dropright" no-caret dropright :text="result.title" variant="primary" class="drop&...
1
vote
0
answers
500
views
VueJS - Bootstrap form validation
I have a form that would ask user to input personal information, such as Fname, Lname, cellphone, address, etc.
For address, it is broken into 6 input boxes, namely
Street Address Line 1
Street ...
1
vote
1
answer
1k
views
change popover background color in bootstrap vue
I'm using bootstrap table and I want a call to action button at the last column which opens a popover. I've used custom class but can't change the color of the background.
Also only the first popover ...
0
votes
1
answer
1k
views
BootstrapVue b-table not storing selected rows when changing pages using b-pagination
I have the following b-table and b-pagination in my template:
<b-table
bordered
hover
responsive
:items="items"
:fields="fields"
:sort-by.sync="sortBy"
:...
0
votes
0
answers
48
views
How can I remove the * from radio buttons using BoostrapVue?
I have a radio group that contains several items.
<template>
<b-form-group label="Is this working properly?" required>
<b-form-radio-group v-model.trim="...
2
votes
1
answer
520
views
How to prevent Bootstrap-Vue Select and Input from expending on the whole line?
I want to do create the following view:
On the right you have the b-form-select and on the left you have b-form-input.
The code:
<template>
<div>
<div class="row">
...
0
votes
1
answer
3k
views
How to use vue-select with b-pagination?
I'm trying to work with pagination using the v-pagination component from bootstrap-vue. It's working more or less as I want, however when I click on a certain page the component is closing.
I would ...
0
votes
0
answers
331
views
Vue js: toast position not changing
in my bootstrap vue js code below, i'm getting toast successfully but the is appears as full width at the very bottom of the page and i couldn't figure out why is this happening, while i'm setting it ...
2
votes
1
answer
1k
views
How to trigger bootstrap-vue dropdown from outside element?
I'm trying to open bootstrap-vue dropdown from a outside button. For instance:
<b-dropdown>
<template #button-content>
Custom <strong>Content</strong> with <em>...