mirror of
https://github.com/element-plus/element-plus.git
synced 2026-03-13 07:51:17 +08:00
fix(components): [picker] fix popup not opening when editable is false (#18767)
This commit is contained in:
@@ -238,7 +238,7 @@ let hasJustTabExitedInput = false
|
||||
|
||||
const { isFocused, handleFocus, handleBlur } = useFocusController(inputRef, {
|
||||
beforeFocus() {
|
||||
return !props.editable || props.readonly || pickerDisabled.value
|
||||
return props.readonly || pickerDisabled.value
|
||||
},
|
||||
afterFocus() {
|
||||
pickerVisible.value = true
|
||||
|
||||
Reference in New Issue
Block a user