You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems that if I set a custom format using the onFormatDate prop in the TimePicker component, it will only apply this format if the time input matches one of the dropdown values. Observe how the custom time separator "." is not applied to 9:10 AM because its minutes value is not 0 or 30 and therefore doesn't match any dropdown preset.
How do I make it so that the custom format is applied to any valid input, including its initial value? My team is using Fluent UI React version 8.110.10 by the way, and I am not sure if newer versions provide this capability.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
It seems that if I set a custom format using the onFormatDate prop in the TimePicker component, it will only apply this format if the time input matches one of the dropdown values. Observe how the custom time separator "." is not applied to 9:10 AM because its minutes value is not 0 or 30 and therefore doesn't match any dropdown preset.
How do I make it so that the custom format is applied to any valid input, including its initial value? My team is using Fluent UI React version 8.110.10 by the way, and I am not sure if newer versions provide this capability.
Beta Was this translation helpful? Give feedback.
All reactions