hschottm / contao-multitextwizard
contao-multitextwizard is a backend widget that can be used to add an array of text input fields to Contao backend forms.
Installs: 57
Dependents: 1
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Type:contao-bundle
Requires
- php: ^5.6 || ^7.0
- contao/core-bundle: ~4.4
Requires (Dev)
- contao/manager-plugin: ^2.0
- doctrine/doctrine-cache-bundle: ^1.3
- friendsofphp/php-cs-fixer: ^2.12
- php-http/guzzle6-adapter: ^1.1
- php-http/message-factory: ^1.0.2
- phpunit/phpunit: ^5.7.26
- symfony/phpunit-bridge: ^3.2
Conflicts
- contao/core: *
- contao/manager-plugin: <2.0 || >=3.0
This package is auto-updated.
Last update: 2021-01-19 08:45:54 UTC
README
contao-multitextwizard
Contao backend widget for text list input
contao-textwizard is a backend widget that can be used to add and edit an array of text input fields to Contao backend forms.
Use in the data container array (DCA)
'authors' => array ( 'label' => &$GLOBALS['TL_LANG']['tl_extension']['authors'], 'inputType' => 'multitextWizard', 'save_callback' => array(array('tl_extension', 'saveAuthors')), 'load_callback' => array(array('tl_extension', 'loadAuthors')), 'eval' => array( 'mandatory' => false, 'doNotSaveEmpty'=>true, 'style' => 'width: 100%;', 'columns' => array ( array ( 'label' => &$GLOBALS['TL_LANG']['tl_extension']['firstname'], 'width' => '180px' ), array ( 'label' => &$GLOBALS['TL_LANG']['tl_extension']['lastname'], ) ), 'buttonTitles' => array( 'rnew' => $GLOBALS['TL_LANG']['tl_extension']['buttontitle_author_new'], 'rcopy' => $GLOBALS['TL_LANG']['tl_extension']['buttontitle_author_copy'], 'rdelete' => $GLOBALS['TL_LANG']['tl_extension']['buttontitle_author_delete'] ) ), 'sql' => "blob NULL" ),