Skip to content

Commit

Permalink
fix(TimePicker): disabled position only is start
Browse files Browse the repository at this point in the history
  • Loading branch information
myronliu347 committed Aug 27, 2024
1 parent 0fa8d0a commit c44f9db
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/time-picker/panel/props.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ export const panelProps = () => ({
type: String,
default: 'HH:mm:ss',
},
position: String,
steps: {
type: Array as PropType<Array<string | number>>,
default: () => [1, 1, 1],
Expand Down
1 change: 1 addition & 0 deletions src/time-picker/panel/time-picker-panel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@ export default defineComponent({
steps: this.steps || DEFAULT_STEPS,
triggerScroll: this.triggerScroll,
disableTime: this.disableTime,
position: this.position,
resetTriggerScroll: this.resetTriggerScroll,
isShowPanel: this.isShowPanel,
hideDisabledTime: this.hideDisabledTime,
Expand Down

0 comments on commit c44f9db

Please sign in to comment.