kirby-boiler-field
kirby-boiler-field copied to clipboard
Boilerplate for Kirby form fields
Kirby Boiler Field
Version 2.0
There is not much documentation about Kirby form fields. As a solution to the problem I created a boilerplate for it.
Intallation instructions
Features
Textfield
- Extends basefield.
- Includes field routes.
- Connects field to javascript.
- Includes ajax request. Output data to the console.
Checkboxesfield
- Extends checkboxesfield.
- Inherit values from the options.
- Appends own values.
Setup
Blueprint
To make it work as expected, add the following code to your blueprint:
Textfield
fields:
boilertext:
title: Your Field1
type: boilertext
Checkboxfield
fields:
boilercheckboxes:
title: Your Field2
type: boilercheckboxes
Changelog
2.0
- Register as plugin instead of field
- Renamed field from
boiler
toboilertext
- Added field
boilercheckboxes
1.0
- Initial release
Requirements
- Kirby 2.0+
Disclaimer
This plugin is provided "as is" with no guarantee. Use it at your own risk and always test it yourself before using it in a production environment. If you find any issues, please create a new issue.
License
It is discouraged to use this plugin in any project that promotes racism, sexism, homophobia, animal abuse, violence or any other form of hate speech.