Reputation: 4913
In Onsen UI ( http://onsenui.io/ ), I am using form with a submit button. It works as expected. But when I put submit in footer the form stops responding.
Here's a link showing the original code.
<div class="content-padded">
<ons-button modifier="large"
onclick="">
Save
</ons-button>
</div>
Here's a link showing the problem.
<ons-tabbar class="content-padded">
<ons-button modifier="large"
onclick="">
Save
</ons-button>
</ons-tabbar>
I am not able to figure out why it is happening.
Upvotes: 0
Views: 467
Reputation: 1088
Ok thanks!
I'm not sure why tabbar would cause the components unresponsive. Maybe this is a bug?
But you could get around it by not using "tabbar" and use "ons-bottom-toolbar"
<ons-bottom-toolbar>
<ons-button modifier="large"
onclick="">
Save
</ons-button>
</ons-bottom-toolbar>
and it should work fine.
Upvotes: 2
Reputation: 1088
Two things.
Upvotes: 0