Real-Dev-Squad/wisee-web

create components for all supported input types

Opened this issue · 0 comments

Issue Description

  • in the form creation page we need to support different types of inputs for which we require components for each input type to take input from the from creator. we need to create components for all supported input types.

Expected Behavior

  • when the user selects a input type during form creation the related component should get rendered.
    example:
    • if the user selects a input type of mcq we render the mcq input component to allow the creator to fill possible options.

Additional information

  • supported input types are:
    • INPUT_TEXT -> input
    • INPUT_NUMBER -> input
    • INPUT_EMAIL -> input
    • TEXTAREA -> text area
    • MULTI_CHOICE_OPTION -> radio button
      • single / multi select
    • TEXT (regular text block, eg: h1, h2, h3)