Skip to content

Commit

Permalink
fix dob
Browse files Browse the repository at this point in the history
  • Loading branch information
yashita-egov committed Dec 23, 2024
1 parent d477508 commit 373b2a7
Showing 1 changed file with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -504,6 +504,7 @@ class IndividualDetailsPageState extends LocalizedState<IndividualDetailsPage> {
.translate(i18.common.corecommonRequired)
: null,
initialDate: before150Years,
initialValue: getInitialDateValue(form),
onChangeOfFormControl: (value) {
if (value == null) {
form.control(_dobKey).setErrors({'': true});
Expand Down Expand Up @@ -597,7 +598,7 @@ class IndividualDetailsPageState extends LocalizedState<IndividualDetailsPage> {
),
),
),
const SizedBox(height: 16),
// const SizedBox(height: spacer4),
if ((RegistrationDeliverySingleton().beneficiaryType ==
BeneficiaryType.household &&
widget.isHeadOfHousehold) ||
Expand All @@ -621,7 +622,7 @@ class IndividualDetailsPageState extends LocalizedState<IndividualDetailsPage> {
localizations.translate(
i18.deliverIntervention.voucherCode,
),
style: theme.textTheme.headlineSmall,
style: textTheme.headingS,
),
),
Flexible(
Expand All @@ -636,7 +637,8 @@ class IndividualDetailsPageState extends LocalizedState<IndividualDetailsPage> {
bottom: spacer2 * 2,
),
child: IconButton(
color: theme.colorScheme.secondary,
color:
theme.colorTheme.primary.primary1,
icon: const Icon(Icons.edit),
onPressed: () {
Navigator.of(context).push(
Expand Down

0 comments on commit 373b2a7

Please sign in to comment.