Skip to content

Commit

Permalink
fixed value unit
Browse files Browse the repository at this point in the history
  • Loading branch information
rohitgeddam committed Jun 11, 2020
1 parent cc57f4b commit 7ce49d5
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -81,13 +81,13 @@ export default function ComponentProperties () {

</ListItem>)
}
else if (keyName === 'VALUE') {
return (
<ListItem key={i}>
<TextField id={keyName} label={keyName} value={val[keyName] || ''} size='small' variant="outlined" onChange={getInputValues} />
<span style={{ marginLeft: '10px' }}>{val.UNIT || ''}</span>
</ListItem>)
}
// else if (keyName === 'VALUE') {
// return (
// <ListItem key={i}>
// <TextField id={keyName} label={keyName} value={val[keyName] || ''} size='small' variant="outlined" onChange={getInputValues} />
// <span style={{ marginLeft: '10px' }}>{val.UNIT || ''}</span>
// </ListItem>)
// }

return (
<ListItem key={i}>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -333,7 +333,7 @@ const ComponentParameters = {
VALUE: '1',
EXTRA_EXPRESSION: '',
MODEL: '',
UNIT: 'Ohm'
VALUE_UNIT: 'Ohm'
},

Z: {
Expand Down

0 comments on commit 7ce49d5

Please sign in to comment.