-
Notifications
You must be signed in to change notification settings - Fork 114
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support Quasar v-input #148
Comments
@fannyfan414 Hi, I tried myself and it works for me. npm install -g @quasar/cli
npm init quasar
cd quasar-project
npm i -S vue-at # (3.x for Vue3)
quasar dev <template>
<at-ta :members="members">
<q-input
v-model="name"
type="textarea"
:rows="1"
:autogrow="false"
resize="none"
/>
</at-ta>
</template>
<script>
import { defineComponent } from 'vue'
import At from 'vue-at' // for content-editable
import AtTa from 'vue-at/dist/vue-at-textarea' // for textarea
export default defineComponent({
name: 'IndexPage',
components: { At, AtTa },
data: () => ({
members: ['hello', 'a12', 'a123'],
}),
})
</script> |
@fritx hmm, strange behaviour: If create separate vue component TestComponent.vue
And then import it into another component
Input from TestComponent is working, but input from main component return error if type something
|
@fannyfan414 seems there is a typo in your snippet 😄 // Wrong
import AtTa from "vue-at/dist/vue-at";
// Correct
import At from "vue-at";
import AtTa from "vue-at/dist/vue-at-textarea"; And the error stack also shows that it is
|
Hi, i'm try to use vue-at with quasar framework (same as vuetify, elementui and others)
Not working code example
The text was updated successfully, but these errors were encountered: