2
0
mirror of https://github.com/tenrok/vue-select.git synced 2026-06-10 07:52:23 +03:00
This commit is contained in:
Jeff
2018-01-18 14:24:58 -08:00
parent ddf594d78e
commit d10b10236c
11 changed files with 20 additions and 22 deletions
+2 -2
View File
@@ -397,7 +397,7 @@
<pre><code class="lang-html"><span class="hljs-tag">&lt;<span class="hljs-name">v-select</span> <span class="hljs-attr">label</span>=<span class="hljs-string">&quot;countryName&quot;</span> <span class="hljs-attr">:options</span>=<span class="hljs-string">&quot;countries&quot;</span>&gt;</span><span class="hljs-tag">&lt;/<span class="hljs-name">v-select</span>&gt;</span>
</code></pre>
<p></p><p data-height="500" data-theme-id="32252" data-slug-hash="aEjLPB" data-default-tab="result" data-user="sagalbot" class="codepen">See the Pen <a href="http://codepen.io/sagalbot/pen/aEjLPB/" target="_blank"></a> by sagalbot (<a href="http://codepen.io/sagalbot" target="_blank">@sagalbot</a>) on <a href="http://codepen.io" target="_blank">CodePen</a>.</p><p></p>
<h3 id="emptyOptions">Null / Empty Options </h3>
<h3 id="null">Null / Empty Options </h3>
<p><code>vue-select</code> requires the <code>option</code> property to be an <code>array</code>. If you are using Vue in development mode, you will get warnings attempting to pass anything other than an <code>array</code> to the <code>options</code> prop. If you need a <code>null</code>/<code>empty</code> value, use an empty array <code>[]</code>.</p>
@@ -442,7 +442,7 @@
<script>
var gitbook = gitbook || [];
gitbook.push(function() {
gitbook.page.hasChanged({"page":{"title":"Dropdown Options","level":"1.4","depth":1,"next":{"title":"Option Labels","level":"1.4.1","depth":2,"anchor":"#labels","path":"Basics/Options.md","ref":"Basics/Options.md#labels","articles":[]},"previous":{"title":"Installation","level":"1.3","depth":1,"path":"Install.md","ref":"Install.md","articles":[]},"dir":"ltr"},"config":{"plugins":["edit-link","-fontsettings","codepen","include-csv"],"root":"./docs/gitbook","styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"pluginsConfig":{"include-csv":{},"github":{"url":"https://github.com/sagalbot/vue-select/"},"search":{},"codepen":{"theme":32252},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"highlight":{},"sharing":{"facebook":false,"twitter":false,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"edit-link":{"label":"Edit This Page","base":"https://github.com/sagalbot/vue-select/edit/gitbook/docs/gitbook"},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false}},"theme":"default","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"title":"vue-select","links":{"sharing":{"facebook":false,"twitter":false}},"gitbook":">3.0.0"},"file":{"path":"Basics/Options.md","mtime":"2018-01-16T03:59:19.529Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2018-01-18T21:43:33.703Z"},"basePath":"..","book":{"language":""}});
gitbook.page.hasChanged({"page":{"title":"Dropdown Options","level":"1.4","depth":1,"next":{"title":"Option Labels","level":"1.4.1","depth":2,"anchor":"#labels","path":"Basics/Options.md","ref":"Basics/Options.md#labels","articles":[]},"previous":{"title":"Installation","level":"1.3","depth":1,"path":"Install.md","ref":"Install.md","articles":[]},"dir":"ltr"},"config":{"plugins":["edit-link","-fontsettings","codepen","include-csv"],"root":"./docs/gitbook","styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"pluginsConfig":{"include-csv":{},"github":{"url":"https://github.com/sagalbot/vue-select/"},"search":{},"codepen":{"theme":32252},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"highlight":{},"sharing":{"facebook":false,"twitter":false,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"edit-link":{"label":"Edit This Page","base":"https://github.com/sagalbot/vue-select/edit/gitbook/docs/gitbook"},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false}},"theme":"default","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"title":"vue-select","links":{"sharing":{"facebook":false,"twitter":false}},"gitbook":">3.0.0"},"file":{"path":"Basics/Options.md","mtime":"2018-01-18T22:23:52.608Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2018-01-18T22:24:54.202Z"},"basePath":"..","book":{"language":""}});
});
</script>
</div>