feat: added validation for timer constructor, added function to calculate hours, minutes and seconds from entered minutes
This commit is contained in:
5
kawai_focus/screens/validators_fields.py
Normal file
5
kawai_focus/screens/validators_fields.py
Normal file
@@ -0,0 +1,5 @@
|
||||
def validate_title(obj, text):
|
||||
"""Валидатор поля title"""
|
||||
|
||||
if not text:
|
||||
obj.ids.title_error.text = 'Введите название!'
|
||||
Reference in New Issue
Block a user