File tree Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -22,6 +22,7 @@ import {
2222} from "@ui5/webcomponents-base/dist/util/AccessibilityTextsHelper.js" ;
2323import "@ui5/webcomponents-localization/dist/features/calendar/Gregorian.js" ; // default calendar for bundling
2424import DateFormat from "@ui5/webcomponents-localization/dist/DateFormat.js" ;
25+ import IconMode from "./types/IconMode.js" ;
2526import getCachedLocaleDataInstance from "@ui5/webcomponents-localization/dist/getCachedLocaleDataInstance.js" ;
2627import {
2728 isShow ,
@@ -458,6 +459,14 @@ class TimePicker extends UI5Element implements IFormInputElement {
458459 return this . hasValueStateText && ! this . _inputsPopover ?. open ;
459460 }
460461
462+ /**
463+ * Defines whether the value help icon is hidden
464+ * @private
465+ */
466+ get _iconMode ( ) {
467+ return isDesktop ( ) ? IconMode . Decorative : IconMode . Interactive ;
468+ }
469+
461470 onTimeSelectionChange ( e : CustomEvent < TimeSelectionChangeEventDetail > ) {
462471 this . tempValue = e . detail . value ; // every time the user changes the time selection -> update tempValue
463472 }
Original file line number Diff line number Diff line change @@ -39,6 +39,7 @@ export default function TimePickerTemplate(this: TimePicker) {
3939 name = { timeEntryRequest }
4040 tabindex = { - 1 }
4141 showTooltip = { true }
42+ mode = { this . _iconMode }
4243 onClick = { this . _togglePicker }
4344 class = { {
4445 "ui5-time-picker-input-icon-button" : true ,
You can’t perform that action at this time.
0 commit comments