In the button, the datePick string is a computed property that can be clicked on to trigger an event. However, clicking outside the datePick value inside the button does not trigger the event.
Even after wrapping it inside a span and setting width: 100%, it still remains unclickable.
<span>
{{capitalize datePick}}
</span>
I aim for it to take up the entire space within the button and be clickable throughout.