From 2c2e56d33aaa8121ce5d0495d89580de18c843ba Mon Sep 17 00:00:00 2001 From: UncleRoger33 <66418211+UncleRoger33@users.noreply.github.com> Date: Wed, 31 Mar 2021 07:55:15 +0300 Subject: [PATCH] Add format to performer field placeholder (#1232) * Update README.md Extra letter "p" in the title removed and "(FAQ)" suffix added. Co-authored-by: peolic <66393006+peolic@users.noreply.github.com> --- README.md | 2 +- .../Performers/PerformerDetails/PerformerEditPanel.tsx | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 6d0513996..5282f936c 100644 --- a/README.md +++ b/README.md @@ -76,7 +76,7 @@ There is a [directory of themes](https://github.com/stashapp/stash/wiki/Themes) ## CSS Customization You can make Stash interface fit your desired style with [Custom CSS snippets](https://github.com/stashapp/stash/wiki/Custom-CSS-snippets) and [CSS Tweaks](https://github.com/stashapp/stash/wiki/CSS-Tweaks). -# Suppport +# Support (FAQ) Answers to frequently asked questions can be found [on our Wiki](https://github.com/stashapp/stash/wiki/FAQ) diff --git a/ui/v2.5/src/components/Performers/PerformerDetails/PerformerEditPanel.tsx b/ui/v2.5/src/components/Performers/PerformerDetails/PerformerEditPanel.tsx index e4ebe7c08..0f0ddc0eb 100644 --- a/ui/v2.5/src/components/Performers/PerformerDetails/PerformerEditPanel.tsx +++ b/ui/v2.5/src/components/Performers/PerformerDetails/PerformerEditPanel.tsx @@ -725,7 +725,7 @@ export const PerformerEditPanel: React.FC = ({ ); } - function renderTextField(field: string, title: string) { + function renderTextField(field: string, title: string, placeholder?: string) { return ( @@ -734,7 +734,7 @@ export const PerformerEditPanel: React.FC = ({ @@ -805,7 +805,7 @@ export const PerformerEditPanel: React.FC = ({ - {renderTextField("birthdate", "Birthdate")} + {renderTextField("birthdate", "Birthdate", "YYYY-MM-DD")} {renderTextField("country", "Country")} {renderTextField("ethnicity", "Ethnicity")} {renderTextField("eye_color", "Eye Color")}