apply config form flow to edit content page

This commit is contained in:
gingervitis
2021-01-03 23:32:47 -08:00
committed by Gabe Kangas
parent 2772a8e5ec
commit e7e89556e7
9 changed files with 139 additions and 61 deletions

View File

@@ -60,7 +60,7 @@ export default function TextField(props: TextFieldProps) {
setHasChanged(false);
clearTimeout(resetTimer);
resetTimer = null;
}
};
// if field is required but value is empty, or equals initial value, then don't show submit/update button. otherwise clear out any result messaging and display button.
const handleChange = (e: any) => {

View File

@@ -150,6 +150,9 @@ export default function MainLayout(props) {
<Menu.Item key="config-storage">
<Link href="/config-storage">Storage</Link>
</Menu.Item>
<Menu.Item key="config-page-content">
<Link href="/config-page-content">Custom page content</Link>
</Menu.Item>
</SubMenu>
<SubMenu