Skip to content

Commit

Permalink
Better hiding of input label asterisk
Browse files Browse the repository at this point in the history
  • Loading branch information
CarsonF committed Apr 30, 2020
1 parent 94c7bee commit 0f5588c
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/theme/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ const props: ComponentsProps = {
},
MuiInputLabel: {
shrink: true,
required: false, // no asterisk
},
};

Expand All @@ -92,10 +93,6 @@ const overrides = ({ palette }: { palette: Palette }): Overrides => {
color: primaryColorForText,
},
},
// replace with MuiInputLabel.required=false after updating to v4.9.12
asterisk: {
display: 'none',
},
},
MuiFilledInput: {
input: {
Expand Down

0 comments on commit 0f5588c

Please sign in to comment.