vtfuture / BForms

Bootstrap Forms for ASP.NET MVC
MIT License
62 stars 33 forks source link

Prevent form submit on grid quick search #209 fix #212

Closed smariussorin closed 9 years ago

smariussorin commented 9 years ago

No need for a form, replaced with a div container

cristipufu commented 9 years ago

This is not a good solution, we should keep the same markup and prevent the submit event

smariussorin commented 9 years ago

Why? We only send a value, we don't need a form. On enter, it does a post action.

smariussorin commented 9 years ago

It'a a clean, direct solve, without making js modification for something it doesn't need ro be a form

smariussorin commented 9 years ago

The method search receives the value of the quickSearch and a true bool, it doesn't make parseForm, so why should we keed the form tag? No submit button also