Skip to content

Commit

Permalink
fix: setting rows as a default instead of overwriting
Browse files Browse the repository at this point in the history
  • Loading branch information
JakobJingleheimer committed Feb 20, 2023
1 parent e89cdda commit 5542a34
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Input/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ export default function Input({

if (options) others.list = `${name}_options`;
if (Tag === 'textarea') {
others.rows = 3;
others.rows ??= 3;
type = null;
}

Expand Down

0 comments on commit 5542a34

Please sign in to comment.