79257440

Date: 2024-12-06 09:20:39
Score: 1
Natty:
Report link

Finally found a hot fix using the watch from_date. so whenever the date picker changes to the format '2024-01' I'll add '-01' to the end of it.

watch: {
    from_date(val) {
      if (val && val.length === 7) {
        this.from_date = val + '-01'
      }
    }
  }
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Clinton Njiru