I am working with two date pickers from the Vue Bootstrap DateTimePicker package. While the functionality is great, I need to modify their appearance. Here is the relevant code snippet:
<template>
<div>
<div class="form-row">
<date-picker
name="begin-date"
@dp-change="changeDate()"
v-model="model.beginDate"
:config="datePickerConfig"
ref="beginDate">
</date-picker>
</div>
<div class="form-row">
<date-picker
name="end-date"
@dp-change="changeDate()"
v-model="model.endDate"
:config="datePickerConfig"
ref="endDate">
</date-picker>
</div>
</div>
</template>
One thing I would like to do is add a calendar icon to these components. Typically, I would do this with Bootstrap elements like so:
<b-button
id="Somebutton"
:title="example for stack overflow"
size="sm"
:class="{danger: hasError}"
:disabled="loading">
<font-awesome-icon icon="columns"></font-awesome-icon>
</b-button>
However, adding icons using
<font-awesome-icon icon="columns"></font-awesome-icon>
or HTML (<i class="fas fa-columns"></i>
) does not seem to work in the current setup. I'm also trying to figure out how to adjust the width of these components so they can sit side by side on the same line without success.
https://i.stack.imgur.com/GZ64Y.png
https://i.stack.imgur.com/W14Tv.png
The goal is to make them narrower to align next to each other, but after consulting the package documentation, I haven't found a solution yet.