We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 9fb8bac + 5d3089e commit 3eaf6e2Copy full SHA for 3eaf6e2
1 file changed
apps/docs/src/remix-hook-form/textarea.stories.tsx
@@ -30,7 +30,7 @@ const ControlledTextareaExample = () => {
30
onValid: (data) => {
31
fetcher.submit(
32
createFormData({
33
- submittedMessage: data.message,
+ message: data.message,
34
}),
35
{
36
method: 'post',
@@ -121,11 +121,6 @@ const testValidSubmission = async ({ canvas }: StoryContext) => {
121
// Check for success message
122
const successMessage = await canvas.findByText('Message submitted successfully');
123
expect(successMessage).toBeInTheDocument();
124
-
125
- // Check if the submitted message is displayed
126
- await expect(
127
- await canvas.findByText('This is a test message that is longer than 10 characters.'),
128
- ).toBeInTheDocument();
129
};
130
131
export const Default: Story = {
0 commit comments