Add some comments.

pull/7/head
Sander Vocke 5 years ago
parent 7b20f62c36
commit bbf233c428
  1. 4
      client/src/components/EditSongDialog.tsx

@ -56,6 +56,10 @@ export default function EditSongDialog(props: IProps) {
/> />
</Grid> </Grid>
<Grid item xs={12}> <Grid item xs={12}>
{ // TODO: this autocomplete is not controlled but does send updates to the parent
// right away. In other words, there is no way to affect its value from outside
// the dialog.
}
<Autocomplete <Autocomplete
options={props.artists} options={props.artists}
getOptionLabel={(option) => option.name as string} getOptionLabel={(option) => option.name as string}

Loading…
Cancel
Save