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

IonDatetime presentation mode

$
0
0

Hello.

I need to implement a time picker, not a date picker. So, I use:

<IonDatetime presentation="time" value={props.horaFin.current} onIonChange={e => props.horaFin.current = (e.detail.value!)}></IonDatetime>

But I get this error log:

Property ‘presentation’ does not exist on type ‘IntrinsicAttributes & IonDatetime & Pick<HTMLAttributes, “children” | … 251 more … | “onTransitionEndCapture”> & IonicReactProps & RefAttributes<…>’.

Why there is not presentation property? Thanks.

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 70860

Trending Articles



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