ui-components icon indicating copy to clipboard operation
ui-components copied to clipboard

Date Picker: Margins not working

Open ArakTaiRoth opened this issue 2 years ago • 2 comments

Info

If you use any of the margin properties (mr, mt, mb, or ml) with the Datepicker component, nothing happens. Tested in React, not tested in Angular.

Acceptance Criteria:

  1. The margin properties should add spacing around the Datepicker component

ArakTaiRoth avatar Dec 07 '23 00:12 ArakTaiRoth

Has this issue already been resolved in the alpha branch? 🤔 I couldn't replicate it in my playground.

When I added the following to my Web playground... <goa-date-picker name="item" error="false" mt="m" mb="m" ml="m" mr="m" value={datePickerDate}></goa-date-picker>

I can see the margins around the input: Image

And when I added the following to my React playground... <GoADatePicker onChange={onChange} mt="m" mb="m" ml="m" mr="m" berror={false} value={new Date()}></GoADatePicker>

I can also see the margins around the input: Image

Or is there a specific context where this issue arises?

bdfranck avatar May 13 '24 21:05 bdfranck

I am also unable to replicate this issue.

chrisolsen avatar Jul 02 '24 17:07 chrisolsen