Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 71531

Ionic 4 IonDatetime. color overlaps --placeholder-color

$
0
0

this is how the component looks like
image

although the style is

.datetimeInput {
–padding-start: 0px;
font-style: normal;
font-weight: 500;
–placeholder-color: #bdbdbd !important; //it’s gray, not black
color: #333333;//its black
font-size: 16px;
}
and component
<IonDatetime
slot=“start”
onIonChange={(e) => onChange(e)}
value={value}
className={styles.datetimeInput}
displayFormat=“DD/MM/YYYY hh:mm”
placeholder={t(“Date and time of the attack”)}
/>

placeholder has the same color as the main one

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 71531

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>