How to fix vmodel selected option vue js

So i have a web app where the user chooses from a list of options. Look at the following code :

<div class="form-group">
    <select v-model="étatArticle" class="form-control">
        <option value="" disabled selected>Indique l'état de ton article</option>
        <option value="neuf">Neuf</option>
        <option value=tresBon>Trés bon état</option>
        <option value="bon">Bon état</option>

The problem is is that the v-model is causing the first selected option to dissapear. to understand what i’m saying , look at the following images.

With v-model

Without v-model i get this
enter image description here

can you please help me fix that? thank you.

67 thoughts on “How to fix vmodel selected option vue js”

  1. Today, while I was at work, my cousin stole my iphone and tested to see if
    it can survive a 40 foot drop, just so she can be a youtube sensation. My apple ipad is now
    destroyed and she has 83 views. I know this is completely off topic but I had to share
    it with someone!

  2. This is a great tip particularly to those fresh to the blogosphere.
    Short but very accurate information… Appreciate your sharing this one.
    A must read article!

  3. I don’t know if it’s just me or if everybody else experiencing problems with your blog.
    It looks like some of the text within your
    content are running off the screen. Can somebody else please provide feedback and let me know if this is happening to them as well?
    This might be a problem with my browser because I’ve had
    this happen before. Thanks

  4. Excellent goods from you, man. I’ve understand your stuff previous to and you’re just too excellent.
    I really like what you’ve acquired here, really like what you are stating and the way in which you say it.
    You make it enjoyable and you still care for to keep it wise.

    I cant wait to read much more from you. This is
    really a great site.

  5. First of all I would like to say excellent blog!
    I had a quick question which I’d like to ask if you
    do not mind. I was interested to know how you
    center yourself and clear your thoughts before
    writing. I have had difficulty clearing my thoughts in getting my thoughts out.
    I do take pleasure in writing but it just seems like the first 10 to
    15 minutes tend to be lost just trying to figure out how to
    begin. Any ideas or hints? Appreciate it! cheap flights cheap flights

  6. You actually make it seem really easy along with your presentation however I in finding this matter to be actually
    one thing which I believe I’d never understand.
    It seems too complicated and extremely vast for me.
    I’m taking a look forward for your subsequent put up, I will attempt to get the hold
    of it! ps4 ps4 games


Leave a Comment