Skip to content

Commit

Permalink
⬆️ Bump to renderer 0.2.0
Browse files Browse the repository at this point in the history
This addressed some shortcomings that we need for the appointments
flow.
  • Loading branch information
sergei-maertens committed Mar 1, 2025
1 parent d5cbba1 commit 97230bf
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 8 deletions.
8 changes: 4 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"@formio/protected-eval": "^1.2.1",
"@fortawesome/fontawesome-free": "6.4.0",
"@open-formulieren/design-tokens": "^0.55.0",
"@open-formulieren/formio-renderer": "^0.1.0",
"@open-formulieren/formio-renderer": "^0.2.0",
"@open-formulieren/formiojs": "^4.13.14",
"@open-formulieren/leaflet-tools": "^1.0.0",
"@sentry/react": "^8.50.0",
Expand Down
4 changes: 3 additions & 1 deletion src/components/appointments/steps/ContactDetailsStep.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ const ContactDetailsStep = ({navigateTo = null}) => {
submitStep,
appointmentData,
stepData,
stepErrors: {initialErrors, initialTouched},
stepErrors: {initialErrors},
clearStepErrors,
} = useCreateAppointmentContext();
const navigate = useNavigate();
Expand Down Expand Up @@ -84,6 +84,8 @@ const ContactDetailsStep = ({navigateTo = null}) => {
{!loading && (
<FormioForm
components={components}
values={stepData}
errors={initialErrors?.contactDetails}
onSubmit={async values => {

Check warning on line 89 in src/components/appointments/steps/ContactDetailsStep.jsx

View check run for this annotation

Codecov / codecov/patch

src/components/appointments/steps/ContactDetailsStep.jsx#L89

Added line #L89 was not covered by tests
flushSync(() => {
clearStepErrors();
Expand Down
3 changes: 1 addition & 2 deletions src/components/forms/TextField/TextField.stories.jsx
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
import {TextField} from '@open-formulieren/formio-renderer';
import {expect, userEvent, within} from '@storybook/test';

import {ConfigDecorator, FormikDecorator} from 'story-utils/decorators';

import {TextField} from './TextField';

export default {
title: 'Pure React Components / Forms / TextField',
component: TextField,
Expand Down

0 comments on commit 97230bf

Please sign in to comment.