Skip to content

Commit

Permalink
IBX-2796: reference correct property (#405)
Browse files Browse the repository at this point in the history
  • Loading branch information
pspanja authored Apr 27, 2022
1 parent edf805d commit 725066b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/bundle/Resources/public/js/scripts/fieldType/ezdate.js
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@
dateTimePickerWidget.init();

if (sourceInput.hasAttribute('required')) {
dateTimePickerWidget.fieldInput.setAttribute('required', true);
dateTimePickerWidget.inputField.setAttribute('required', true);
}
};

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@
dateTimePickerWidget.init();

if (sourceInput.hasAttribute('required')) {
dateTimePickerWidget.fieldInput.setAttribute('required', true);
dateTimePickerWidget.inputField.setAttribute('required', true);
}
};

Expand Down
2 changes: 1 addition & 1 deletion src/bundle/Resources/public/js/scripts/fieldType/eztime.js
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@
dateTimePickerWidget.init();

if (sourceInput.hasAttribute('required')) {
dateTimePickerWidget.fieldInput.setAttribute('required', true);
dateTimePickerWidget.inputField.setAttribute('required', true);
}
};

Expand Down

0 comments on commit 725066b

Please sign in to comment.