lovasoa / SQLpage

SQL-only webapp builder, empowering data analysts to build websites and applications quickly
https://sql.datapage.app
MIT License
1.29k stars 69 forks source link

Updated Form component #122

Closed Pieter3033 closed 9 months ago

Pieter3033 commented 10 months ago

Hi, @lovasoa

Changes: • Added 2 columns using bootstrap, to display tow input boxes next to each other. • Adjusted the form button based on the new button component from SQLPage v0.14. • Added a reset button, that essentially resets the form.

Note: The buttons are both top-level parameters.

Problems:

  1. Struggling to adjust the width of the input boxes using bootstrap.

Form reference: image

SQLPage code: image

lovasoa commented 9 months ago

thanks @Pieter3033 ! your work will be included in the next version of sqlpage

Pieter3033 commented 9 months ago

Thanks @lovasoa, it feels I (as user) have more control over the form component now.

I find it very interesting how you implemented the width of the columns with handlebars, I believe my problem was I never set the default of the width and it messed with the input-box.

I thank you though, because I am learning a-lot from your project. Keep it up man, and good luck.