[bugfix] Field: readonly in safari (#1399)
This commit is contained in:
@@ -136,6 +136,11 @@ export default create({
|
||||
onFocus(event) {
|
||||
this.focused = true;
|
||||
this.$emit('focus', event);
|
||||
|
||||
// hack for safari
|
||||
if (this.readonly) {
|
||||
this.blur();
|
||||
}
|
||||
},
|
||||
|
||||
onBlur(event) {
|
||||
|
||||
Reference in New Issue
Block a user