numerus/web/template/products
jordi fita mas 7d895fe5f9 Use HTMx to add product rows “inline” in the invoice form
I actually find more comfortable to select the product from the list
presented up until now, but this is mostly because i have very few
products and the list is not too long, so the idea is that with
JavaScript we will dynamically add an empty product row to the invoice
and then use the name field to search the product by name.

I have the feeling that i am doing something wrong because i ended up
with a lot of HTMx attribute for what i feel is not that much work,
but for now it will work.

I have added the `Is` field to `InputField` in order to include the `id`
attribute to the HTML element, because the HTMLAttributes are attached
to the `input`, not the `div`, and i felt like this one should also be
a custom element based on div, like all the others.

These is not yet any keyboard control to select the search results.

I am not happy with having the search of products in a different URL
than the index, specially since they use the exact same SQL query and
ProductFilter struct, but i did not know how else ask for a different
representation without resorting to the more complicated MIME types.
2023-04-24 02:00:38 +02:00
..
edit.gohtml Boost all breadcbrumb links 2023-04-02 16:10:13 +02:00
index.gohtml Add the product filter form 2023-04-23 03:20:01 +02:00
new.gohtml Boost all breadcbrumb links 2023-04-02 16:10:13 +02:00
search.gohtml Use HTMx to add product rows “inline” in the invoice form 2023-04-24 02:00:38 +02:00