
    恕f                     2    d dl mZ d dlmZ  G d de      Zy)    )gettext)StopValidationc                       e Zd ZdZdZd Zy)FieldListInputRequiredzK
        Validates that at least one item was provided for a FieldList
    )requiredc                 z    t        |j                        dk(  r#g |j                  d d  t        t	        d            y )Nr   z&This field requires at least one item.)lenentrieserrorsr   r   )selfformfields      Z/var/www/feuerwehr-webapp/venv/lib/python3.12/site-packages/flask_admin/form/validators.py__call__zFieldListInputRequired.__call__   s6    u}}" ELLO )Q!RSS #    N)__name__
__module____qualname____doc__field_flagsr    r   r   r   r      s      KTr   r   N)flask_admin.babelr   wtforms.validatorsr   objectr   r   r   r   <module>r      s    % -
TV 
Tr   