refactor: Update StrInput to validate the given value
This commit is contained in:
parent
799c08fd84
commit
0fb4683262
1 changed files with 1 additions and 0 deletions
|
|
@ -56,6 +56,7 @@ class StrInput(BaseInputMixin, ListableInputMixin, DatabaseLoadMixin):
|
||||||
load_from_db: CoalesceBool = False
|
load_from_db: CoalesceBool = False
|
||||||
"""Defines if the field will allow the user to open a text editor. Default is False."""
|
"""Defines if the field will allow the user to open a text editor. Default is False."""
|
||||||
|
|
||||||
|
@staticmethod
|
||||||
def _validate_value(v: Any, _info):
|
def _validate_value(v: Any, _info):
|
||||||
"""
|
"""
|
||||||
Validates the given value and returns the processed value.
|
Validates the given value and returns the processed value.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue