chore: starting to clean up some of the form components

Signed-off-by: blam <ben@blam.sh>

Signed-off-by: blam <ben@blam.sh>
This commit is contained in:
blam
2022-06-10 13:56:40 +02:00
parent 94ce0cda13
commit 60ac7f3ad7
3 changed files with 4 additions and 2 deletions
@@ -206,6 +206,7 @@ export function SelectComponent(props: SelectProps) {
data-testid="select"
displayEmpty
multiple={multiple}
margin="dense"
onChange={handleChange}
onClick={handleClick}
open={isOpen}
@@ -102,8 +102,9 @@ export const EntityPicker = (
<TextField
{...params}
label={title}
margin="normal"
margin="dense"
helperText={description}
FormHelperTextProps={{ margin: 'dense', style: { marginLeft: 0 } }}
variant="outlined"
required={required}
InputProps={params.InputProps}
+1 -1
View File
@@ -37,7 +37,7 @@ export const legacySelectedTemplateRouteRef = createSubRouteRef({
path: '/templates/:templateName',
});
const nextRouteRef = createRouteRef({
export const nextRouteRef = createRouteRef({
id: 'scaffolder/next',
});