Is there a way to style the placeholder text for the dropdown component? Same goes for the search text that a user enters.
We are developing a mobile-friendly version of a view, but each component automatically zooms in on IOS when the font size is <16px. That is why I want to have font size 16px for the placeholder text and search text when a user is interacting with the view on a mobile application. Is there a way to do this, or are there workarounds?
The placeholder text appears whenever the value is null, so you could try applying alternate styles (fontSize) using an if
expression…
if({this.props.value} = null,
'16px',
''
)
1 Like
Looks like you could target it via the advanced stylesheet: