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 80a5d48 commit bbc27e1Copy full SHA for bbc27e1
1 file changed
packages/design-system-react-native/src/components/Input/Input.tsx
@@ -48,7 +48,7 @@ export const Input = forwardRef<TextInput, InputProps>(
48
const finalFontWeight = MAP_TEXT_VARIANT_FONTWEIGHT[textVariant];
49
const fontSuffix = TWCLASSMAP_TEXT_FONTWEIGHT[finalFontWeight];
50
const fontClass = `font-${FontFamily.Default}${fontSuffix}`;
51
- const hasPlaceholder = placeholder !== null && placeholder !== '';
+ const hasPlaceholder = placeholder != null && placeholder !== '';
52
// Treat empty controlled values as placeholder-visible so the iOS
53
// placeholder alignment workaround applies during placeholder-to-text
54
// transitions.
0 commit comments