lambda-curry/lc-component-library

Adding Placeholder to Date Input breaks the input

Opened this issue · 0 comments

Let's say we want to have a date input with a placeholder like so. Currently this breaks the date formatting and causes an error in the change detection.

       <InputDate
              name="start"
              label="Select Begin Date"
              inputProps={{ placeholder: 'mm/dd/yyyy' }}
              formikProps={dateRangeFormikProps}
       />