Skip to content

Commit

Permalink
fix(Input): ensure dnb-input--null class will not be set
Browse files Browse the repository at this point in the history
  • Loading branch information
tujoworker committed Aug 31, 2022
1 parent 8529d8c commit 6843b1f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/dnb-eufemia/src/components/input/Input.js
Original file line number Diff line number Diff line change
Expand Up @@ -403,7 +403,7 @@ export default class Input extends React.PureComponent {
const mainParams = {
className: classnames(
'dnb-input',
`dnb-input--${type}`, //type_modifier
type && `dnb-input--${type}`,
size && !sizeIsNumber && `dnb-input--${size}`,
hasSubmitButton && 'dnb-input--has-submit-element',
isTrue(clear) && 'dnb-input--has-clear-button',
Expand Down

0 comments on commit 6843b1f

Please sign in to comment.