[TYPO3-german] Re: TYPO3 8.7 - Extbase Validation

M S ms12345 at trashmail.de
Thu Jun 22 11:10:33 CEST 2017


Sorry, da waren meine Finger zu langsam. Natürlich meinte ich @validation NotEmpty

Beispiel Model:
  /**
   * alias
   *
   * @var string
   * @validate NotEmpty
   */
  protected $alias = '';

Beispiel TCA:
    'alias' => [
        'exclude' => false,
        'label' => 'LLL:EXT:###EXTKEY###/Resources/Private/Language/locallang_db.xlf:tx_###EXTKEY###_domain_model_xyz.alias',
        'config' => [
		    'type' => 'input',
		    'size' => 30,
		    'eval' => 'trim,required'
		],
    ],

Leider kein Erfolg.
-- 
Kind regards,
Michael

forum.typo3.org/index.php?t=tree&th=208338 direct_mail
forum.typo3.org/index.php?t=tree&th=210808 powermail
forum.typo3.org/index.php?t=tree&th=212804 Core
forum.typo3.org/index.php?t=tree&th=213115 clickenlarge


More information about the TYPO3-german mailing list