Releases: customberg/customberg-php
Releases · customberg/customberg-php
0.17
0.16 - field custom
- New field type:
custom
for custom js field with React.createElement - Checkout /example/app/Blocks/CustomField.php for an example with summernote for Backpack V5 (TODO: update to V6)
0.15
- New field types:
checkbox
,textarea
,number
,email
,url
- New property
placeholder
for text fields - New property
hint
andhint_html
for all fields that show a small helper text - Checkout /example/app/Blocks/EverySingleField.php for a full example
0.14
Bugfix: Preview API while rendering a block with multilanguage, when i'm selecting the new language that does not have translation saved.
0.10
- Added file extension validation to
upload_image
.
Use'allowed_types' => ['png', 'jpg', 'webp', 'svg'],
- Added
upload_file
for files without preview.
Use'multiple' => true,
if you want multiple files in the same field.