I
I
Igor2019-08-12 20:47:14
Vue.js
Igor, 2019-08-12 20:47:14

When entering data in v-edit-dialog, the dialog disappears, how to fix it?

Greetings colleagues!
5d51a5b0ab00d684298366.gif

...
<template v-slot:item.name="props">
          <v-edit-dialog
                  :return-value="props.item.name"
                  @save="save"
                  @cancel="cancel"
                  @open="open"
                  @close="close"
          > {{ props.item.name }}
            <template v-slot:input>
              <v-text-field
                      v-model="props.item.name"
                      :rules="rules.max_chars_255"
                      label="Редактирование"
                      single-line
                      counter
              ></v-text-field>
            </template>
          </v-edit-dialog>
        </template>
...

If you remove
v-model="props.item.name"

then the dialog does not disappear, but it is not connected with the data in the table
In the docks 1 in 1

Answer the question

In order to leave comments, you need to log in

3 answer(s)
Z
Zakhar Kushchenko, 2018-01-02
@lostresot1

Second. The video card is better there, the presence of SSD + since this is a gaming laptop, you can shove an HDD into it, a higher frequency of RAM + the ability to upgrade + a better processor, and the cooling system is also better than that of HP. Of the minuses, it can only be that the battery will last less, but this must be looked at by tests + it can be noisy. Definitely take Lenovo.

D
Desp Avtonom, 2018-01-02
@Avtonommm

It’s better to look at them in the store, especially the displays. I'm choosing between:
ACER NITRO5 AN515-41 [A12-9730P/ RAM DDR4 8Gb/ Radeon RX550 4Gb/ HDD 1Tb + SSD 128Gb/ Win10Home]
HP OMEN 15-ce00IKBA [i5 7300HQ/ RAM DDR4 8Gb/ GeForce GTX 1050 2Gb/ HDD 1Tb/DOS]
LENOVO Y520-15IKBN [i5 7300HQ/ RAM DDR4 8Gb/ Radeon RX560M 2Gb(4)/ HDD 1Tb/ DOS]
LENOVO Y520-15IKBN [i5 7300HQ/ RAM DDR4 8Gb/ GeForce GTX 1050 2Gb(4)/ HDD 1Tb / Win10Home] I didn’t understand Lenova with vidyuhi, there is a type for 2, there is a 4 gig campaign. The model names are the same.
Duc, I even took acer, but I want to exchange it, tk. I stupidly didn’t see lenovo and hp in the store, I relied on a consultant ...
I don’t know why, but I didn’t look at the display normally, I saw that it was better than the laptops standing next to each other (6 long laptop racks in 3 rows). And when he came home and began to compare with his old Samsung on a TN-matrix, he was upset.
Red is not red at all, but some kind of scarlet. White gives off a little yellowness, and black is some kind of gray, plus the backlight is visible from the corners. The old broken Samsung is better, except for the white one. Red is perfect, black is perfect, it is not visible in the photo, but this is because it is broken and its coating is glossy, unlike the matte acer. But white gives bluish, I don’t know, maybe also because it’s broken, or there’s no way to calibrate colors in xp.
Photos and videos on the new IPS acer are displayed much better than on the old TN Samsung, but purely because the white on the Samsung has become worse, all the light colors are bluish.
See the display, IPS is not always good. By the way, the HP Omen seems to have a better display, tomorrow I'll go look.
XIAOMI Notebook Pro was also advised here, it is very good in quality, but I don’t have it in the city to check out the display and it also has weaker iron, well, I allocate 60 tr. approximately, and XIAOMI for such a price can only offer me this
[i5 8250U/ RAM DDR4 8GB/ GeForce MX150 2Gb/ SSD 256Gb/ Win10Home] I'm
also thinking about changing the previous generation with weaker hardware, but it's cheaper and the display is 17 inches!!!
HP OMEN 17-w036ur 1VG98EA [i5-6300HQ/ RAM DDR4 6Gb/ GeForce GTX 960M 2Gb/ HDD 1Tb/ Win10Home]

A
Astrohas, 2018-01-02
@Astrohas

I prefer the second one -> here Ssd and video card are more powerful

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question