Skip to content

Commit

Permalink
+: string input digit choice
Browse files Browse the repository at this point in the history
  • Loading branch information
lynklody authored and billchenchina committed Aug 13, 2020
1 parent 26f4708 commit 8e9823f
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Components/ButtonUtil.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ const useStyles = makeStyles({
marginTop: 100,
marginBottom: 20,
marginLeft: 80,
background: grey[300]
background: grey[300],
minWidth: 80
}
})

Expand Down
7 changes: 7 additions & 0 deletions src/Components/InputAreaByDataTypes/StringInput.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ const predefinedCharset = {
'a-z': 'abcdefghijklmnopqrstuvwxyz',
'A-Z': 'ABCDEFGHIJKLMNOPQRSTUVWXYZ',
'a-z&A-Z': 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ',
'0-9': '0123456789',
}

// for autocomplete component
Expand Down Expand Up @@ -90,6 +91,12 @@ const StringInput = () => {
control={<Radio/>}
label='a-z&A-Z'
/>
<FormControlLabel
value='0-9'
checked={value === '0-9'}
control={<Radio/>}
label='0-9'
/>
</RadioGroup>
</FormControl>
</Grid>
Expand Down

0 comments on commit 8e9823f

Please sign in to comment.