1

I am trying to use b-datepicker to select a date, but I came across an issue. The dates are not displayed properly as you can see in the attached image.

My code

    <b-form-group
      class="my-3"
    >
      <b-input-group>
        <b-form-input
          id="example-input"
          v-model="answer"
          type="text"
          placeholder="YYYY-MM-DD"
          autocomplete="off"
        ></b-form-input>
        <b-input-group-append>
          <b-form-datepicker
            v-model="answer"
            button-only
            right
            lazy
          ></b-form-datepicker>
        </b-input-group-append>
      </b-input-group>
    </b-form-group>

enter image description here

1 Answer 1

2

So the solution was to include calendar-width prop in the b-datepicker component

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.