Skip to content
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
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
* Fix focus issue. Refs UICHKOUT-773.
* Refactor away from react-intl-safe-html. Refs UICHKOUT-721.
* Optional dependency `@folio/circulation` is out of date. Refs UICHKOUT-777.
* Enable error message when entering an item barcode without a patron barcode. Refs UICHKOUT-770.

## [8.0.1](https://github.com/folio-org/ui-checkout/tree/v8.0.1) (2022-03-28)
[Full Changelog](https://github.com/folio-org/ui-checkout/compare/v8.0.0...v8.0.1)
Expand Down
2 changes: 1 addition & 1 deletion src/ScanItems.js
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ class ScanItems extends React.Component {

// https://github.com/final-form/react-final-form/blob/master/docs/faq.md#how-can-i-trigger-a-submit-from-outside-my-form
triggerPatronFormSubmit = () => {
const submitEvent = new Event('submit', { cancelable: true });
const submitEvent = new Event('submit', { cancelable: true, bubbles: true });
const form = document.querySelector('#patron-form');
form.dispatchEvent(submitEvent);
};
Expand Down