Skip to content

Commit

Permalink
[TM-1402] Update storyshot.
Browse files Browse the repository at this point in the history
  • Loading branch information
roguenet committed Dec 16, 2024
1 parent 26b6702 commit 58b2999
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ export const Default: Story = {
label: "Tree Species Grown",
description:
"List the tree species that you expect to restore on this project, across all sites. Please enter the scientific name for each tree species.",
withPreviousCounts: false,
useTaxonomicBackbone: true,
required: true,
value: [
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,18 @@ exports[`Storyshots Components/Elements/Inputs/TreeSpeciesInput Default 1`] = `
<div
className="flex items-center gap-1"
>
<div
title="Non-Scientific Name"
>
<div
style={
Object {
"height": undefined,
"width": 24,
}
}
/>
</div>
<p
className="text-black text-14-light"
data-testid="txt"
Expand Down Expand Up @@ -341,6 +353,18 @@ exports[`Storyshots Components/Elements/Inputs/TreeSpeciesInput With Number 1`]
<div
className="flex items-center gap-1"
>
<div
title="Non-Scientific Name"
>
<div
style={
Object {
"height": undefined,
"width": 24,
}
}
/>
</div>
<p
className="text-black text-14-light"
data-testid="txt"
Expand Down
4 changes: 4 additions & 0 deletions src/components/extensive/WizardForm/WizardForm.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,8 @@ const getSteps = (edit?: boolean): FormStepSchema[] => {
description: "TRee species input description",
fieldProps: {
title: "Tree Species",
withPreviousCounts: false,
useTaxonomicBackbone: false,
buttonCaptionSuffix: "Species",
required: true
},
Expand All @@ -204,6 +206,8 @@ const getSteps = (edit?: boolean): FormStepSchema[] => {

fieldProps: {
title: "Tree Species",
withPreviousCounts: false,
useTaxonomicBackbone: false,
buttonCaptionSuffix: "Species",
required: true,
withNumbers: true
Expand Down

0 comments on commit 58b2999

Please sign in to comment.