tjvantoll / nativescript-IQKeyboardManager

NativeScript wrapper for the popular IQKeyboardManager iOS framework
MIT License
100 stars 20 forks source link

TextViewWithHint still fails with v-model #62

Open BigWillie opened 5 years ago

BigWillie commented 5 years ago

Bug still present - https://github.com/tjvantoll/nativescript-IQKeyboardManager/issues/60

Thanks, Rob

EddyVerbruggen commented 5 years ago

Would you mind sharing a Vue repo that reproduces it? The vanilla JS demo in this repo demonstrates that it does so I’m curious what it takes to make it work with Vue as well. Thx!

Mixelated commented 5 years ago

same problem here in latest version with VueJS

fgutteridge commented 4 years ago

Same here. Any updates, or plans fix? @EddyVerbruggen do you still need a Vue repro?

rigor789 commented 4 years ago

Not sure if solved yet, but you need to tell Vue what prop/event to use for v-model

Vue.registerElement(
  'TextViewWithHint',
  () => require('nativescript-iqkeyboardmanager').TextViewWithHint,
  {
    model: {
      prop: 'text',
      event: 'textChange'
    }
  }
)
mreall commented 4 years ago

Any updates? This still doesn't work for me.

rigor789 commented 4 years ago

@mreall have you tried my suggestion above?

mreall commented 4 years ago

@rigor789 I did and it didn't work for me. I ended up reverting all the TextViewWithHint elements back to plain TextViews.