Form component, no button, 2 columns #111
Replies: 3 comments 2 replies
-
Ran into a problem, the button component does not submit the form submission. Will return once a solution has been found. |
Beta Was this translation helpful? Give feedback.
-
It would be nice if the official form component added a new For the button component, I added a feature request here: #113 . @Pieter3033 , would you be interested to work on that ? I would very much appreciate pull requests targeting the default templates in this repo. |
Beta Was this translation helpful? Give feedback.
-
Hi @lovasoa , As discussed, I have implemented adjusting the SQLPage code reference: (Note: This is all top-level properties) See edited form.handlebar below: |
Beta Was this translation helpful? Give feedback.
-
First of I'd like to thank @lovasoa , Mr. Ophir you have done a great job.🔥
I'd just like to share this with whom ever would like to use it.
I've manipulated the "form.handlebars" to display 2 input boxes next to each other and removed the button.
(Because, as of SQLPage v0.14 an awesome button component has been added)
How to use:
• (I'd recommend keeping the original "form" handlebar as you can make use of different types of forms)
• (Note: All the default .handlebars are in the source file of SQLPage located inside of the path: "sqlpage/templates")
SELECT 'form' as component
Just rename it to the .handlebar name:
SELECT 'form_nobtn_2columns' as component
See form reference:

form_nobtn_2columns.handlebars:
Beta Was this translation helpful? Give feedback.
All reactions