Skip to content
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

How to use it with Vue. #93

Open
Yoruichi opened this issue Jun 24, 2017 · 8 comments
Open

How to use it with Vue. #93

Yoruichi opened this issue Jun 24, 2017 · 8 comments
Labels

Comments

@Yoruichi
Copy link

Yoruichi commented Jun 24, 2017

It seems NOT work with Vue's 'v-for'.
simple example:

<div class="result">
    <blockquote v-for="item in items">
       {{ item }}
    </blockquote>
</div>
<script>
    data:{items:['aaa','bbb','ccc','abc']}
</script>
@Haroenv
Copy link
Owner

Haroenv commented Jun 24, 2017

Did you try with dynamic: true ?

Could you make a codepen with a minimal example?

@Yoruichi
Copy link
Author

hi Haroenv. the dynamic:true works for me.but i found it does not support Chinese words.so please help me again.THX

@Haroenv
Copy link
Owner

Haroenv commented Jun 24, 2017

I can’t read chinese, could you give me an example of the problem?

@Yoruichi
Copy link
Author

oh, i got it.It's my fault.I use a Chinese input. THX again.

@Haroenv
Copy link
Owner

Haroenv commented Jun 24, 2017

Could you show me what the exact problem is? I’d love to solve this!

@Yoruichi
Copy link
Author

OK.Actually i use a Chinese input.it means if i want to input a Chinese word '王' , i need to click 'w','a','n','g' and space key.So Holmes will search five times for 'w','wa','wan','wang' and last one '王'.
I set onInput: function(input) {console.log(input)} to find this.If i may,i think you should give a method to set when Holmes need to search.

@Haroenv
Copy link
Owner

Haroenv commented Jun 24, 2017

Hmm sounds interesting, I didn’t have this problem yet before, I’ll come back to you on this!

@Haroenv
Copy link
Owner

Haroenv commented Aug 25, 2017

related to guardian/scribe#422

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

No branches or pull requests

2 participants