Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated placeholder display #3620

Merged
merged 1 commit into from
Nov 29, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ const FormikDatePicker: FunctionComponent<React.PropsWithChildren<FastDatePicker
autoComplete="off"
name={field}
required={required}
placeholderText="MTH DD, YYYY"
placeholderText="MMM DD, YYYY"
className={classNames('form-control', 'date-picker', isInvalid, isValid, innerClassName)}
dateFormat="MMM dd, yyyy"
selected={(value && new Date(value)) || null}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -391,7 +391,7 @@ exports[`AddFinancialCode form renders as expected 1`] = `
class="c4 form-control date-picker"
id="datepicker-effectiveDate"
name="effectiveDate"
placeholder="MTH DD, YYYY"
placeholder="MMM DD, YYYY"
type="text"
value="Dec 04, 2015"
/>
Expand Down Expand Up @@ -462,7 +462,7 @@ exports[`AddFinancialCode form renders as expected 1`] = `
class="c4 form-control date-picker"
id="datepicker-expiryDate"
name="expiryDate"
placeholder="MTH DD, YYYY"
placeholder="MMM DD, YYYY"
type="text"
value=""
/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,7 @@ exports[`UpdateFinancialCode form renders as expected 1`] = `
class="c4 form-control date-picker"
id="datepicker-effectiveDate"
name="effectiveDate"
placeholder="MTH DD, YYYY"
placeholder="MMM DD, YYYY"
type="text"
value="Nov 22, 1999"
/>
Expand Down Expand Up @@ -401,7 +401,7 @@ exports[`UpdateFinancialCode form renders as expected 1`] = `
class="c4 form-control date-picker"
id="datepicker-expiryDate"
name="expiryDate"
placeholder="MTH DD, YYYY"
placeholder="MMM DD, YYYY"
type="text"
value=""
/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -704,7 +704,7 @@ exports[`AddLeaseContainer component renders as expected 1`] = `
class="c8 form-control date-picker"
id="datepicker-startDate"
name="startDate"
placeholder="MTH DD, YYYY"
placeholder="MMM DD, YYYY"
required=""
type="text"
value=""
Expand Down Expand Up @@ -756,7 +756,7 @@ exports[`AddLeaseContainer component renders as expected 1`] = `
class="c8 form-control date-picker"
id="datepicker-expiryDate"
name="expiryDate"
placeholder="MTH DD, YYYY"
placeholder="MMM DD, YYYY"
type="text"
value=""
/>
Expand Down Expand Up @@ -2225,7 +2225,7 @@ exports[`AddLeaseContainer component renders as expected 1`] = `
class="c8 form-control date-picker"
id="datepicker-responsibilityEffectiveDate"
name="responsibilityEffectiveDate"
placeholder="MTH DD, YYYY"
placeholder="MMM DD, YYYY"
type="text"
value=""
/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -941,7 +941,7 @@ exports[`AdministrationSubForm component renders as expected 1`] = `
class="c6 form-control date-picker"
id="datepicker-responsibilityEffectiveDate"
name="responsibilityEffectiveDate"
placeholder="MTH DD, YYYY"
placeholder="MMM DD, YYYY"
type="text"
value=""
/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@ exports[`LeaseDetailSubForm component renders as expected 1`] = `
class="c5 form-control date-picker"
id="datepicker-startDate"
name="startDate"
placeholder="MTH DD, YYYY"
placeholder="MMM DD, YYYY"
required=""
type="text"
value=""
Expand Down Expand Up @@ -350,7 +350,7 @@ exports[`LeaseDetailSubForm component renders as expected 1`] = `
class="c5 form-control date-picker"
id="datepicker-expiryDate"
name="expiryDate"
placeholder="MTH DD, YYYY"
placeholder="MMM DD, YYYY"
type="text"
value=""
/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -390,7 +390,7 @@ exports[`ReceivedDepositForm component renders as expected 1`] = `
class="c4 form-control date-picker"
id="datepicker-depositDate"
name="depositDate"
placeholder="MTH DD, YYYY"
placeholder="MMM DD, YYYY"
required=""
type="text"
value=""
Expand Down Expand Up @@ -893,7 +893,7 @@ exports[`ReceivedDepositForm component renders with data as expected 1`] = `
class="c4 form-control date-picker"
id="datepicker-depositDate"
name="depositDate"
placeholder="MTH DD, YYYY"
placeholder="MMM DD, YYYY"
required=""
type="text"
value=""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@ exports[`ReturnDepositForm component renders as expected 1`] = `
class="c3 form-control date-picker"
id="datepicker-terminationDate"
name="terminationDate"
placeholder="MTH DD, YYYY"
placeholder="MMM DD, YYYY"
required=""
type="text"
value=""
Expand Down Expand Up @@ -496,7 +496,7 @@ exports[`ReturnDepositForm component renders as expected 1`] = `
class="c3 form-control date-picker"
id="datepicker-returnDate"
name="returnDate"
placeholder="MTH DD, YYYY"
placeholder="MMM DD, YYYY"
required=""
type="text"
value=""
Expand Down Expand Up @@ -920,7 +920,7 @@ exports[`ReturnDepositForm component renders with data as expected 1`] = `
class="c3 form-control date-picker"
id="datepicker-terminationDate"
name="terminationDate"
placeholder="MTH DD, YYYY"
placeholder="MMM DD, YYYY"
required=""
type="text"
value=""
Expand Down Expand Up @@ -1105,7 +1105,7 @@ exports[`ReturnDepositForm component renders with data as expected 1`] = `
class="c3 form-control date-picker"
id="datepicker-returnDate"
name="returnDate"
placeholder="MTH DD, YYYY"
placeholder="MMM DD, YYYY"
required=""
type="text"
value=""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ exports[`Edit Lease Insurance renders as expected 1`] = `
class="c4 form-control date-picker"
id="datepicker-insurances.0.expiryDate"
name="insurances.0.expiryDate"
placeholder="MTH DD, YYYY"
placeholder="MMM DD, YYYY"
type="text"
value="Jan 01, 2022"
/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ exports[`Edit Lease Insurance renders as expected 1`] = `
class="c4 form-control date-picker"
id="datepicker-insurances.0.expiryDate"
name="insurances.0.expiryDate"
placeholder="MTH DD, YYYY"
placeholder="MMM DD, YYYY"
type="text"
value="Jan 01, 2022"
/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ exports[`PaymentForm component renders as expected 1`] = `
class="c2 form-control date-picker"
id="datepicker-receivedDate"
name="receivedDate"
placeholder="MTH DD, YYYY"
placeholder="MMM DD, YYYY"
required=""
type="text"
value=""
Expand Down Expand Up @@ -480,7 +480,7 @@ exports[`PaymentForm component renders with data as expected 1`] = `
class="c2 form-control date-picker"
id="datepicker-receivedDate"
name="receivedDate"
placeholder="MTH DD, YYYY"
placeholder="MMM DD, YYYY"
required=""
type="text"
value=""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ exports[`TermForm component renders as expected 1`] = `
class="c3 form-control date-picker"
id="datepicker-startDate"
name="startDate"
placeholder="MTH DD, YYYY"
placeholder="MMM DD, YYYY"
required=""
type="text"
value=""
Expand Down Expand Up @@ -164,7 +164,7 @@ exports[`TermForm component renders as expected 1`] = `
class="c3 form-control date-picker"
id="datepicker-expiryDate"
name="expiryDate"
placeholder="MTH DD, YYYY"
placeholder="MMM DD, YYYY"
type="text"
value=""
/>
Expand Down Expand Up @@ -535,7 +535,7 @@ exports[`TermForm component renders with data as expected 1`] = `
class="c3 form-control date-picker"
id="datepicker-startDate"
name="startDate"
placeholder="MTH DD, YYYY"
placeholder="MMM DD, YYYY"
required=""
type="text"
value=""
Expand Down Expand Up @@ -572,7 +572,7 @@ exports[`TermForm component renders with data as expected 1`] = `
class="c3 form-control date-picker"
id="datepicker-expiryDate"
name="expiryDate"
placeholder="MTH DD, YYYY"
placeholder="MMM DD, YYYY"
type="text"
value=""
/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -748,7 +748,7 @@ exports[`AddAcquisitionContainer component renders as expected 1`] = `
class="c10 form-control date-picker"
id="datepicker-assignedDate"
name="assignedDate"
placeholder="MTH DD, YYYY"
placeholder="MMM DD, YYYY"
type="text"
value=""
/>
Expand Down Expand Up @@ -795,7 +795,7 @@ exports[`AddAcquisitionContainer component renders as expected 1`] = `
class="c10 form-control date-picker"
id="datepicker-deliveryDate"
name="deliveryDate"
placeholder="MTH DD, YYYY"
placeholder="MMM DD, YYYY"
type="text"
value=""
/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -637,7 +637,7 @@ exports[`AddAcquisitionForm component renders as expected 1`] = `
class="c7 form-control date-picker"
id="datepicker-assignedDate"
name="assignedDate"
placeholder="MTH DD, YYYY"
placeholder="MMM DD, YYYY"
type="text"
value=""
/>
Expand Down Expand Up @@ -684,7 +684,7 @@ exports[`AddAcquisitionForm component renders as expected 1`] = `
class="c7 form-control date-picker"
id="datepicker-deliveryDate"
name="deliveryDate"
placeholder="MTH DD, YYYY"
placeholder="MMM DD, YYYY"
type="text"
value=""
/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -548,7 +548,7 @@ exports[`UpdateAgreementsForm component renders as expected 1`] = `
class="c10 form-control date-picker"
id="datepicker-agreements.0.agreementDate"
name="agreements.0.agreementDate"
placeholder="MTH DD, YYYY"
placeholder="MMM DD, YYYY"
type="text"
value=""
/>
Expand Down Expand Up @@ -595,7 +595,7 @@ exports[`UpdateAgreementsForm component renders as expected 1`] = `
class="c10 form-control date-picker"
id="datepicker-agreements.0.commencementDate"
name="agreements.0.commencementDate"
placeholder="MTH DD, YYYY"
placeholder="MMM DD, YYYY"
type="text"
value=""
/>
Expand Down Expand Up @@ -642,7 +642,7 @@ exports[`UpdateAgreementsForm component renders as expected 1`] = `
class="c10 form-control date-picker"
id="datepicker-agreements.0.completionDate"
name="agreements.0.completionDate"
placeholder="MTH DD, YYYY"
placeholder="MMM DD, YYYY"
type="text"
value=""
/>
Expand Down Expand Up @@ -689,7 +689,7 @@ exports[`UpdateAgreementsForm component renders as expected 1`] = `
class="c10 form-control date-picker"
id="datepicker-agreements.0.terminationDate"
name="agreements.0.terminationDate"
placeholder="MTH DD, YYYY"
placeholder="MMM DD, YYYY"
type="text"
value=""
/>
Expand Down Expand Up @@ -736,7 +736,7 @@ exports[`UpdateAgreementsForm component renders as expected 1`] = `
class="c10 form-control date-picker"
id="datepicker-agreements.0.possessionDate"
name="agreements.0.possessionDate"
placeholder="MTH DD, YYYY"
placeholder="MMM DD, YYYY"
type="text"
value=""
/>
Expand Down Expand Up @@ -1138,7 +1138,7 @@ exports[`UpdateAgreementsForm component renders as expected 1`] = `
class="c10 form-control date-picker"
id="datepicker-agreements.1.agreementDate"
name="agreements.1.agreementDate"
placeholder="MTH DD, YYYY"
placeholder="MMM DD, YYYY"
type="text"
value="Apr 05, 2023"
/>
Expand Down Expand Up @@ -1185,7 +1185,7 @@ exports[`UpdateAgreementsForm component renders as expected 1`] = `
class="c10 form-control date-picker"
id="datepicker-agreements.1.completionDate"
name="agreements.1.completionDate"
placeholder="MTH DD, YYYY"
placeholder="MMM DD, YYYY"
type="text"
value="Apr 05, 2023"
/>
Expand Down Expand Up @@ -1232,7 +1232,7 @@ exports[`UpdateAgreementsForm component renders as expected 1`] = `
class="c10 form-control date-picker"
id="datepicker-agreements.1.terminationDate"
name="agreements.1.terminationDate"
placeholder="MTH DD, YYYY"
placeholder="MMM DD, YYYY"
type="text"
value="Apr 05, 2023"
/>
Expand Down Expand Up @@ -1279,7 +1279,7 @@ exports[`UpdateAgreementsForm component renders as expected 1`] = `
class="c10 form-control date-picker"
id="datepicker-agreements.1.possessionDate"
name="agreements.1.possessionDate"
placeholder="MTH DD, YYYY"
placeholder="MMM DD, YYYY"
type="text"
value="Apr 05, 2023"
/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -438,7 +438,7 @@ exports[`Compensation Requisition UpdateForm component renders as expected 1`] =
class="c7 form-control date-picker"
id="datepicker-agreementDateTime"
name="agreementDateTime"
placeholder="MTH DD, YYYY"
placeholder="MMM DD, YYYY"
type="text"
value=""
/>
Expand Down Expand Up @@ -485,7 +485,7 @@ exports[`Compensation Requisition UpdateForm component renders as expected 1`] =
class="c7 form-control date-picker"
id="datepicker-expropriationNoticeServedDateTime"
name="expropriationNoticeServedDateTime"
placeholder="MTH DD, YYYY"
placeholder="MMM DD, YYYY"
type="text"
value=""
/>
Expand Down Expand Up @@ -532,7 +532,7 @@ exports[`Compensation Requisition UpdateForm component renders as expected 1`] =
class="c7 form-control date-picker"
id="datepicker-expropriationVestingDateTime"
name="expropriationVestingDateTime"
placeholder="MTH DD, YYYY"
placeholder="MMM DD, YYYY"
type="text"
value=""
/>
Expand Down Expand Up @@ -579,7 +579,7 @@ exports[`Compensation Requisition UpdateForm component renders as expected 1`] =
class="c7 form-control date-picker"
id="datepicker-advancedPaymentServedDate"
name="advancedPaymentServedDate"
placeholder="MTH DD, YYYY"
placeholder="MMM DD, YYYY"
type="text"
value=""
/>
Expand Down
Loading
Loading