Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lekoala/silverstripe-form-elements
Form elements for SilverStripe
https://github.com/lekoala/silverstripe-form-elements
custom-elements form forms js module silverstripe
Last synced: 2 months ago
JSON representation
Form elements for SilverStripe
- Host: GitHub
- URL: https://github.com/lekoala/silverstripe-form-elements
- Owner: lekoala
- License: mit
- Created: 2023-06-16T15:46:35.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2024-10-11T12:14:21.000Z (4 months ago)
- Last Synced: 2024-11-16T19:31:52.365Z (3 months ago)
- Topics: custom-elements, form, forms, js, module, silverstripe
- Language: JavaScript
- Homepage:
- Size: 5.08 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# SilverStripe Form Elements module
![Build Status](https://github.com/lekoala/silverstripe-form-elements/actions/workflows/ci.yml/badge.svg)
[![scrutinizer](https://scrutinizer-ci.com/g/lekoala/silverstripe-form-elements/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/lekoala/silverstripe-form-elements/)
[![Code coverage](https://codecov.io/gh/lekoala/silverstripe-form-elements/branch/master/graph/badge.svg)](https://codecov.io/gh/lekoala/silverstripe-form-elements)## Intro
A set of form elements based on [Formidable Elements](https://github.com/lekoala/formidable-elements).
Available fields:
- BS Tags (ajax)
- BS Autocomplete (ajax)
- Cleave (mask)
- Coloris
- Flatpickr
- Growing textarea
- InputMask (mask)
- TelInput
- TipTap
- TomSelect (ajax)Formatters:
- Date
- NumberSome other elements are implemented in distinct modules:
- https://github.com/lekoala/silverstripe-filepond
- https://github.com/lekoala/silverstripe-tabulator## Requirements
All fields expose a `requirements` static method. This will include the requirements except if you disabled them with the `enable_requirements` config var.
This method is called (unless disabled) in the `Field` method.## TODO
- i18n
- Doc
- Tests## Compatibility
Tested with SilverStripe ^5.
## Maintainer
LeKoala - [email protected]