Skip to content

Commit 5c548ff

Browse files
committed
chore
1 parent 497b13f commit 5c548ff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/django_formify/tailwind/formify_helper.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,7 @@ def render_as_tailwind_field(self, context):
298298
for attribute_name, attributes in attrs.items():
299299
# check type of attributes, if it is not basic type boolen, number, string, ignore it
300300
# and print warning
301-
if not isinstance(attributes, (bool, int, str)):
301+
if not isinstance(attributes, (bool, int, str, float)):
302302
warnings.warn(
303303
f"Attribute {attribute_name} value is not a basic type. Ignoring it.",
304304
stacklevel=1,

0 commit comments

Comments
 (0)