mirror of
https://github.com/stashapp/stash.git
synced 2026-01-03 06:03:17 +01:00
not that simple then
This commit is contained in:
parent
8868bf0027
commit
7c9dbae0f7
2 changed files with 4 additions and 3 deletions
|
|
@ -24,6 +24,7 @@ import { IGroupEntry, SceneGroupTable } from "./SceneGroupTable";
|
|||
import { faSearch } from "@fortawesome/free-solid-svg-icons";
|
||||
import { objectTitle } from "src/core/files";
|
||||
import { galleryTitle } from "src/core/galleries";
|
||||
import { FormElement } from 'src/utils/form';
|
||||
import { lazyComponent } from "src/utils/lazyComponent";
|
||||
import isEqual from "lodash-es/isEqual";
|
||||
import {
|
||||
|
|
@ -35,7 +36,7 @@ import {
|
|||
Performer,
|
||||
PerformerSelect,
|
||||
} from "src/components/Performers/PerformerSelect";
|
||||
import { formikUtils } from "src/utils/form";
|
||||
import { FormElement } from "src/utils/form";
|
||||
import { Studio, StudioSelect } from "src/components/Studios/StudioSelect";
|
||||
import { Gallery, GallerySelect } from "src/components/Galleries/GallerySelect";
|
||||
import { Group } from "src/components/Groups/GroupSelect";
|
||||
|
|
@ -730,7 +731,7 @@ export const SceneEditPanel: React.FC<IProps> = ({
|
|||
</Row>
|
||||
<Row className="form-container px-3">
|
||||
<Col lg={7} xl={12}>
|
||||
{renderInputField("title")}
|
||||
{formikUtils.renderInputField("title", "textarea")}
|
||||
{renderInputField("code", "text", "scene_code")}
|
||||
|
||||
{renderURLListField("urls", onScrapeSceneURL, urlScrapable)}
|
||||
|
|
|
|||
|
|
@ -189,7 +189,7 @@ export function formikUtils<V extends FormikValues>(
|
|||
props?: IProps
|
||||
) {
|
||||
const title = intl.formatMessage({ id: messageID });
|
||||
const control = renderFormControl(field, type, title);
|
||||
const control = renderFormControl(field, field === "title" ? "textarea" : type, title);
|
||||
|
||||
return renderField(field, title, control, props);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue