We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f0bee99 commit de91a88Copy full SHA for de91a88
src/once-ui/components/Input.tsx
@@ -178,7 +178,7 @@ const Input = forwardRef<HTMLInputElement, InputProps>(
178
variant="label-default-m"
179
htmlFor={id}
180
className={classNames(styles.label, styles.inputLabel, {
181
- [styles.floating]: isFocused || isFilled,
+ [styles.floating]: isFocused || isFilled || placeholder,
182
})}
183
>
184
{label}
0 commit comments