element icon indicating copy to clipboard operation
element copied to clipboard

[Bug Report] element select not work with last version vue.js

Open itdepartament opened this issue 9 years ago • 14 comments

Element UI version

1.3.0-beta.2

OS/Browsers version

any

Vue version

2.3.0

Reproduction Link

https://jsfiddle.net/tu4p71q9/

Steps to reproduce

no choosed any value

What is Expected?

choosed needed value

What is actually happening?

not possible choose any. all work coorect with previous version vue.js is 2.2.6

itdepartament avatar May 01 '17 12:05 itdepartament

Hi, your JSFiddle page is blank because it seems you forgot to click the Save button. Please save your fiddle and then edit this issue with the new link.

element-bot avatar May 01 '17 12:05 element-bot

@element-bot I confirm this issue as i have the same problem

here is a working example: https://jsfiddle.net/m87d3c3v/

it's basically the exact same first example shown in the official website : http://element.eleme.io/#/en-US/component/select

just expand the code of the first example and click on try it it will take you to the same example which is not working

The issue:

the selected value does not show on the input i have tried to use :value="value" and checked whether the value property changes it seems that is dose change properly but don't reflect the changes on the input

khawarizmus avatar May 01 '17 13:05 khawarizmus

@itdepartament @gimyboya the Element version is 1.2.9 in unpkg.com, which is not compatible with [email protected]

pengchongfu avatar May 01 '17 14:05 pengchongfu

@pengchongfu it seems to work with [email protected] https://jsfiddle.net/m87d3c3v/2/

is there an element version that works with [email protected] ?

khawarizmus avatar May 01 '17 14:05 khawarizmus

@gimyboya you can see #4498 to get more information. Element after 1.3.0-beta.1 works with [email protected], you can clone the code to build yourself.

pengchongfu avatar May 01 '17 14:05 pengchongfu

@itdepartament @gimyboya For Vue 2.3.x, please use Element 1.3.0, which is now in beta:

npm i element-ui@beta -S

Leopoldthecoder avatar May 01 '17 14:05 Leopoldthecoder

thank, but i use cdn, need wait ?

2017-05-01 17:17 GMT+03:00 杨奕 [email protected]:

@itdepartament https://github.com/itdepartament @gimyboya https://github.com/gimyboya For Vue 2.3.x, please use Element 1.3.0, which is now in beta:

npm i element-ui@beta -S

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/ElemeFE/element/issues/4564#issuecomment-298340953, or mute the thread https://github.com/notifications/unsubscribe-auth/ATdxwNPk7spZbVitd-Yi3BERGl8gZbBaks5r1emSgaJpZM4NNBO5 .

itdepartament avatar May 01 '17 18:05 itdepartament

@itdepartament you can still change the version you are using even with a cdn

khawarizmus avatar May 01 '17 18:05 khawarizmus

big thank!

2017-05-01 21:55 GMT+03:00 gimyboya [email protected]:

@itdepartament https://github.com/itdepartament you can still change the version you are using even with a cdn

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/ElemeFE/element/issues/4564#issuecomment-298402157, or mute the thread https://github.com/notifications/unsubscribe-auth/ATdxwN8l7N3Rwdf1FwOjMK3njZbHVdOwks5r1iq8gaJpZM4NNBO5 .

itdepartament avatar May 02 '17 04:05 itdepartament

Just for the info. Installing vue 2.3.2 fixed the issue:

"element-ui": "^1.2.9",
"vue": "^2.3.2"

keevitaja avatar May 08 '17 09:05 keevitaja

big thank!

08.05.2017 12:51 пользователь "Tanel Tammik" [email protected] написал:

Just for the info. Installing vue 2.3.2 fixed the issue:

"element-ui": "^1.2.9", "vue": "^2.3.2"

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/ElemeFE/element/issues/4564#issuecomment-299823511, or mute the thread https://github.com/notifications/unsubscribe-auth/ATdxwFesvQoexMo7stsfmOs90U_uWZHgks5r3uWrgaJpZM4NNBO5 .

itdepartament avatar May 09 '17 16:05 itdepartament

Guys, update your element-ui to ^1.3.3

FrankFang avatar May 15 '17 14:05 FrankFang

thank!

15.05.2017 17:31 пользователь "Frank Fang" [email protected] написал:

Guys, update your element-ui to ^1.3.3

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/ElemeFE/element/issues/4564#issuecomment-301492984, or mute the thread https://github.com/notifications/unsubscribe-auth/ATdxwN8VL3KXU4-58OqZWCDrd1_3IMQLks5r6GG_gaJpZM4NNBO5 .

itdepartament avatar May 15 '17 16:05 itdepartament

just change: //unpkg.com/element-ui/lib/theme-default/index.css with: //unpkg.com/element-ui/lib/theme-chalk/index.css

Element UI version

1.3.0-beta.2

OS/Browsers version

any

Vue version

2.3.0

Reproduction Link

https://jsfiddle.net/tu4p71q9/

Steps to reproduce

no choosed any value

What is Expected?

choosed needed value

What is actually happening?

not possible choose any. all work coorect with previous version vue.js is 2.2.6

it's not Vue, it's CSS. just replace: //unpkg.com/element-ui/lib/theme-default/index.css with: //unpkg.com/element-ui/lib/theme-chalk/index.css

waLplanet avatar Jan 18 '19 07:01 waLplanet