Skip to content

Commit

Permalink
Add labels input
Browse files Browse the repository at this point in the history
  • Loading branch information
jrmi committed Oct 7, 2023
1 parent 376aaef commit b768629
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions src/gameComponents/AdvancedImage/AdvancedImageFormFields.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -231,6 +231,23 @@ const ImageForm = ({ initialValues }) => {
</Field>
</Label>

<Label>
{t("Text")}
<Field
name="text"
component="input"
initialValue={initialValues.text}
/>
</Label>
<Label>
{t("Back Text")}
<Field
name="backText"
component="input"
initialValue={initialValues.backText}
/>
</Label>

<h3>{t("Layers")}</h3>
<Field name="layers" initialValue={initialValues.layers || []}>
{({ input: { value, onChange } }) => {
Expand Down

1 comment on commit b768629

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.