Files
sqlpage--sqlpage/sqlpage/templates
Xylle d18954ec8a add empty_option to the form component (#694)
* Update form.handlebars

Add empty option to select

* Update 01_documentation.sql

Add documentation

* Update examples/official-site/sqlpage/migrations/01_documentation.sql

* Update sqlpage/templates/form.handlebars

* add empty_option example

* empty_option

---------

Co-authored-by: Ophir LOJKINE <contact@ophir.dev>
2024-11-17 11:13:23 +01:00
..
2024-10-22 16:12:48 +02:00
2024-08-17 20:06:26 +02:00
SEO
2024-10-27 00:12:50 +02:00

SQLPage component templates

SQLPage templates are handlebars1 files that are used to render the results of SQL queries.

Default components

SQLPage comes with a set of default2 components that you can use without having to write any code. These are documented on https://sql.datapage.app/components.sql

Custom components

You can write your own component templates and place them in the sqlpage/templates directory. To override a default component, create a file with the same name as the default component. If you want to start from an existing component, you can copy it from the sqlpage/templates directory in the SQLPage source code2 .