Skip to content

Commit

Permalink
fix scheduler demos
Browse files Browse the repository at this point in the history
  • Loading branch information
Krijovnick committed Oct 15, 2021
1 parent 34a0596 commit 7eebe44
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -313,10 +313,9 @@ const PrioritySelector = withStyles(styles, { name: 'PrioritySelector' })(({
}) => {
const currentPriority = priority > 0 ? priorities[priority - 1] : {};
return (
<FormControl className={classes.prioritySelector}>
<FormControl className={classes.prioritySelector} variant="standard">
<Select
// inputProps={{ disableUnderline: true }}
// disableUnderline
disableUnderline
value={priority}
onChange={(e) => {
priorityChange(e.target.value);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -275,8 +275,8 @@ const AppointmentFormContainer = withStyles(containerStyles, { name: 'Appointmen
const styles = theme => ({
addButton: {
position: 'absolute',
bottom: theme.spacing(1) * 3,
right: theme.spacing(1) * 4,
bottom: theme.spacing(3),
right: theme.spacing(4),
},
});

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,7 @@ const AppointmentContent = withStyles(styles, { name: 'AppointmentContent' })(({

const Filter = withStyles(styles, { name: 'TextField' })(({ onCurrentFilterChange, currentFilter, classes }) => (
<TextField
size="small"
placeholder="Filter"
className={classes.textField}
value={currentFilter}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ const LocaleSwitcher = withStyles(styles, { name: 'LocaleSwitcher' })(
</div>
<TextField
select
variant="standard"
value={currentLocale}
onChange={onLocaleChange}
>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ const ResourceSwitcher = withStyles(styles, { name: 'ResourceSwitcher' })(
Main resource name:
</div>
<Select
variant="standard"
value={mainResourceName}
onChange={e => onChange(e.target.value)}
>
Expand Down

0 comments on commit 7eebe44

Please sign in to comment.