Uploaded image for project: 'ui-data-import'
  1. ui-data-import
  2. UIDATIMP-278

Create Section Component for Data Import forms

    XMLWordPrintable

Details

    • EPAM BatchLoader Sprint 25
    • 5
    • Folijet
    • Medium < 5 days

    Description

      It is required to create universal Section Component with the following functionality:
      1 It must contain header (for optional controls and caption) and body parts;
      2 It must be optionally collapsible:

      • It must accept parent controls (or forms) state value (boolean) that defines if the component is collapsible or not;
      • It must accept parent controls (or forms) state value (boolean) that defines if the component is collapsed or not (FALSE by default);
      • If it is collapsible by the previous point it should contain collapse/restore facility/button (Bootstrap like) which will actually collapse and restore the Section body;
      • If it is not collapsible by the previous point it should not show collapse/restore facility/button.

      3 It must be optional (its data will be used on form submit if TRUE and not be used if FALSE):

      • It must accept parent controls (or forms) state value (boolean) that defines if the component is optional or not;
      • It must accept parent controls (or forms) state value (boolean) that defines if the component data will be used or not (FALSE by default);
      • If it is optional by the previous point it should contain "use data" checkbox with custom caption (comes from props) which will actually show and hide the Section body;
      • If it is not optional by the previous point it should not show "use data" checkbox and show components body by default.

      4 Its body/children rendering must be implemented as "renderProps" function.

      TestRail: Results

        Attachments

          Issue Links

            Activity

              People

                Mariia_Aloshyna Mariia Aloshyna
                taras_tkachenko Taras Tkachenko
                Taras Tkachenko Taras Tkachenko
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  TestRail: Runs

                    TestRail: Cases