short snippet test for widget registry

This commit is contained in:
2026-05-12 14:29:16 +02:00
parent bbe1dc4e2b
commit 76b81316c2

View File

@@ -27,6 +27,17 @@ class FormField:
self.label += "*"
# %%
t_str = "asd.yxcxc.dfgjj.aasdsdsdsd.sdsdsdsd"
splitted = t_str.split(".")
part, rest = splitted[0], splitted[1:]
part
# %%
".".join([part] + rest)
# %%
FormField("name", "Projektbeschreibung", FormFieldType.LONGTEXT, required=True)
# %%