Skip to content

feat: Initial Project Create Form ('/projects/create') #60

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 16 commits into from
Jan 26, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Remove extra code
  • Loading branch information
bryphe-coder committed Jan 25, 2022
commit de7785102c7836f25b1248149c4dc73721e8a98d
32 changes: 1 addition & 31 deletions site/components/Form/FormDropdownField.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -52,34 +52,4 @@ const useStyles = makeStyles({
hintText: {
opacity: 0.75,
},
})

/*
<TextField
autoComplete="off"
variant="outlined"
onChange={(ev) => handleSelectPool(ev.target.value)}
value={selectedPool ? selectedPool.name : ""}
disabled={fieldIsDisabled}
required
label="Workspace provider"
select
>
{poolsSorted.map((pool: UIResourcePoolWithRegion) => (
<MenuItem key={pool.name} value={pool.name}>
<Box alignItems="center" display="flex">
<ProviderIcon provider={pool} type={pool.type} />
<Box ml={1}>
<Typography>{pool.name}</Typography>
</Box>
{pool.region !== null && (
<Box ml={1}>
<Typography className={styles.hintText} variant="caption">
{pool.region}
</Typography>
</Box>
)}
</Box>
</MenuItem>
))}
</TextField>*/
})