How do I disable a button in my v-template


#1

The button in the v-template disturbs the ontapItem of the list, so tapping on the items in the list view doesn’t work. How can I disable the button? setting isEnable=“false” doesn’t work.


#2

That suppose to be isEnabled not isEnable.


#3

It doesn’t work, still can’t tap on the items


#4

Can you create an example to showcase your issue with Playground?


#5

#6

By default this case is handled in RadListView. With ordinary list view, you must follow the workaround given here.


#7

Okay, following this snippet I tried referencing my button and then added @loaded and called it in my method this way:

    this.$refs.btn.android.setFocusable(false);

…and it’s not working


#8

If you checkout the example properly, it was not using a reference. Please take a closer look to the given example, use the event object to get the button instance and disable focus.


#9

got it @manojdcoder… Do you have any guide on using google-maps for NS-Vue?


#10

The steps are same for not only google maps but for any UI plugin, install the plugin, register the element and start using it in your template.


#11

ok… would try that out