oasp-forge / oasp4js-rev

The Open Application Standard Platform for JavaScript
http://oasp.github.io/
0 stars 2 forks source link

Table search does not work at all #19

Closed maybeec closed 8 years ago

maybeec commented 8 years ago

Searching for tables does not work for now. There are several issues:

RobertoGM commented 8 years ago

Table search component at the moment only purpose is provide a container for a form (defined outside the component for more flexibility) and 2 buttons to clear and search(search itself does not work because i did not think is worth to implement a front-end solution while we research a back-end implementation, but the "search" button does collect the form information).

The form is only a test so I did not care much about which input types I used. In the future I will configure a good looking and fully functional searching form.

Thank you for the comment!

RobertoGM commented 8 years ago

The problem with inputs and empty fields was with pressing enter key, which called "clearForm()" function, making blank the input value. Now if you press enter key, the component calls the function "doSearch()" and leaves the values untouched.

RobertoGM commented 8 years ago

table-search implemented server-side with the function provided. Seems like there is no function to search (server-side) the info in the tables kitchen