Skip to content
This repository has been archived by the owner on May 25, 2018. It is now read-only.

Error import Input.vue #506

Open
olehbozhok opened this issue Jul 26, 2017 · 1 comment
Open

Error import Input.vue #506

olehbozhok opened this issue Jul 26, 2017 · 1 comment

Comments

@olehbozhok
Copy link

olehbozhok commented Jul 26, 2017

I try import input
import input from 'vue-strap/src/Input'
and got it:

`

(Emitted value instead of an instance of Error)
Error compiling template:

{{label}}
<textarea v-if="type=='textarea'" class="form-control" v-el:input v-model="value" :cols="cols" :rows="rows" :name="name" :title="attr(title)" :readonly="readonly" :required="required" :disabled="disabled" :maxlength="maxlength" :placeholder="placeholder" @blur="onblur" @Focus="onfocus" ></textarea>
×
<textarea v-if="type=='textarea'" class="form-control" v-el:input v-model="value" :cols="cols" :rows="rows" :name="name" :title="attr(title)" :readonly="readonly" :required="required" :disabled="disabled" :maxlength="maxlength" :placeholder="placeholder" @blur="onblur" @Focus="onfocus" ></textarea> ×
{{help}}
{{errorText}}
  • :
    v-model does not support dynamic input types. Use v-if branches instead.
  • :
    v-model does not support dynamic input types. Use v-if branches instead.

@ .//vue-strap/src/Input.vue 10:2-274
@ ./
/babel-loader/lib!./~/vue-loader/lib/selector.js?type=script&index=0!./src/components/Login.vue
@ ./src/components/Login.vue
@ ./src/router/index.js
@ ./src/main.js
@ multi ./build/dev-client ./src/main.js

`

@olehbozhok
Copy link
Author

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant