Skip to content

Conversation

@sharjeelyunus
Copy link
Member

@sharjeelyunus sharjeelyunus commented Dec 2, 2025

FIXES: #1973. #2132

useInlineTimePicker

Time:
    id: timeinline_input
    initialValue: '12:00'
    useInlineTimePicker: true
    label: SELECT TIME
image

valueWidget

Time:
    id: time_input
    initialValue: '12:00'
    useIOSStyleTimePicker: true
    styles:
      showIcon: false
      fillColor: transparent
      enabledBorderColor: black
      borderRadius: 8
      borderWidth: 1
      iOSStyles:
        minuteInterval: 5
    valueWidget:
      Text:
        text: ${getTimeValue(time_input.value)}
image

…upport

- Added 'useInlineTimePicker' option to display an inline time picker.
- Introduced 'valueWidget' property for custom formatting of time values.
- Refactored time picker methods for improved readability and functionality.
- Updated state management to handle new properties effectively.
- Added support for a custom value widget through the 'valueWidget' property.
- Introduced a new private class '_BorderStyle' to manage border properties.
- Refactored border handling logic to improve styling based on error states and custom properties.
- Updated the TimeState class to render the custom value widget and apply appropriate styles.
@sharjeelyunus sharjeelyunus self-assigned this Dec 2, 2025
This was linked to issues Dec 2, 2025
@sharjeelyunus sharjeelyunus merged commit 8a6f867 into main Dec 2, 2025
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Custom Value Label for Time widget Inline Time picker

2 participants