Skip to content

Commit

Permalink
Handle Price Filtering <form> reset events
Browse files Browse the repository at this point in the history
For comparison [see this commit][commit]

Nothing exciting here. The ergonomics is similar to the Stimulus version.

[commit]: seanpdoyle@ad83cab
  • Loading branch information
jho406 committed Oct 8, 2023
1 parent 0638417 commit 0aee530
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/components/SeatFilter.js
Expand Up @@ -36,7 +36,7 @@ export default class extends React.Component {
.map((inputProps) => <MaxRadioButton {...inputProps} onFilter={onFilter} key={inputProps.id} />);

return (
<form {...filterForm.props}>
<form {...filterForm.props} onReset={(event) => onFilter(event, Infinity)}>
<fieldset className="syos-u-margin-bottom-6">
<legend className="syos-u-margin-bottom-2 syos-inline-stack">
<h2 className="syos-inline-stack__item">
Expand Down

0 comments on commit 0aee530

Please sign in to comment.