diff --git a/dist/vue-strap-lang.js b/dist/vue-strap-lang.js index 9a12a713..e9c439d5 100644 --- a/dist/vue-strap-lang.js +++ b/dist/vue-strap-lang.js @@ -71,6 +71,20 @@ de: { search: 'Suche' }, +pl: { + daysOfWeek: ['Nd', 'Pn', 'Wt', 'Śr', 'Cz', 'Pt', 'So'], + limit: 'Limit osiągnięty (maks. {{limit}}).', + loading: 'Ładuję…', + minLength: 'Min. długość', + months: [ + 'Styczeń', 'Luty', 'Marzec', 'Kwiecień', 'Maj', 'Czerwiec', + 'Lipiec', 'Sierpień', 'Wrzesień', 'Październik', 'Listopad', 'Grudzień' + ], + notSelected: 'Nie wybrano', + required: 'Wymagane', + search: 'Szukaj' +}, + ru: { daysOfWeek: ['Пн', 'Вт', 'Ср', 'Чт', 'Пт', 'Сб', 'Вс'], limit: 'Достигнут максимальный лимит ({{limit}}).', @@ -97,6 +111,7 @@ var aliases = { en: /^en-[A-Z]{2}$/i, de: /^de-[A-Z]{2}$/i, ru: /^ru-[A-Z]{2}$/i, + pl: /^pl-[A-Z]{2}$/i, }; return function (lang) { diff --git a/src/Input.vue b/src/Input.vue index 8ce53d51..a24d6608 100644 --- a/src/Input.vue +++ b/src/Input.vue @@ -19,6 +19,7 @@ :title="attr(title)" :type="type=='textarea'?null:type" v-model="val" + :value="value" @blur="emit" @focus="emit" @input="emit" @keyup.enter="type!='textarea'&&enterSubmit&&submit()" > @@ -47,6 +48,7 @@ :title="attr(title)" :type="type=='textarea'?null:type" v-model="val" + :value="value" @blur="emit" @focus="emit" @input="emit" @keyup.enter="type!='textarea'&&enterSubmit&&submit()" > diff --git a/src/Select.vue b/src/Select.vue index 2eaa05dc..1aefe638 100644 --- a/src/Select.vue +++ b/src/Select.vue @@ -67,16 +67,17 @@ export default { search: {type: Boolean, default: false}, searchText: {type: String, default: null}, url: {type: String, default: null}, - value: null + value: {default: null} }, data () { + var val = this.value return { list: [], loading: null, searchValue: null, show: false, notify: false, - val: null, + val, valid: null } },