mirror of
https://github.com/jlengrand/adyen-web.git
synced 2026-03-10 08:01:22 +00:00
fix(personalDetails): classNameModifiers for dateOfBirth (#2344)
This commit is contained in:
5
.changeset/wicked-flowers-prove.md
Normal file
5
.changeset/wicked-flowers-prove.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"@adyen/adyen-web": patch
|
||||
---
|
||||
|
||||
fix(personalDetails): classNameModifiers for dateOfBirth
|
||||
@@ -130,7 +130,7 @@ export default function PersonalDetails(props: PersonalDetailsProps) {
|
||||
{requiredFields.includes('dateOfBirth') && (
|
||||
<Field
|
||||
label={i18n.get('dateOfBirth')}
|
||||
classNameModifiers={['col-50', 'lastName']}
|
||||
classNameModifiers={['col-50', 'dateOfBirth']}
|
||||
errorMessage={getErrorMessage(errors.dateOfBirth)}
|
||||
helper={isDateInputSupported ? null : i18n.get('dateOfBirth.format')}
|
||||
name={'dateOfBirth'}
|
||||
|
||||
Reference in New Issue
Block a user