Skip to content

Commit

Permalink
feat: add GeneratedIdElement
Browse files Browse the repository at this point in the history
  • Loading branch information
MHajoha committed Dec 16, 2024
1 parent 9b8612f commit 1aed2fe
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions questionpy_common/elements.py
Original file line number Diff line number Diff line change
Expand Up @@ -167,13 +167,18 @@ class RepetitionElement(_BaseElement):
"""Elements that will be repeated."""


class GeneratedIdElement(_BaseElement):
kind: Literal["id"] = "id"


FormElement: TypeAlias = Annotated[
CheckboxElement
| CheckboxGroupElement
| GroupElement
| HiddenElement
| RadioGroupElement
| RepetitionElement
| GeneratedIdElement
| SelectElement
| StaticTextElement
| TextInputElement
Expand Down

0 comments on commit 1aed2fe

Please sign in to comment.