Details

    • Epic
    • Status: Closed
    • Trivial
    • Resolution: Discarded
    • None
    • None
    • Alloy UI
    • None

    Description

      In this epic we should modernize these utilities, from frontend-js-aui-web/.../util.js:

      • disableFormButtons
      • enableFormButtons
      • submitForm (provide)
      • submitForm
      • forcePost

      We should rewrite them to vanilla JS and move to frontend-js-web.

      Other form or form-control-ish functions that we should analyze in this epic are the following (picked these up via a quick sweep as things that looked formish or form-control-ish or tableish — doesn't matter if they strictly belong here, but we need them somewhere so that we can actually finish this migration, so this epic is as good a place as any):

      • addInputCancel()
      • checkAll()
      • checkAllBox()
      • disableElements()
      • disableToggleBoxes()
      • listCheckboxesExcept()
      • listCheckedExcept()
      • listSelect()
      • listUncheckedExcept()
      • reorder()
      • rowCheckerCheckAllBox()
      • toggleBoxes()
      • toggleRadio()
      • toggleSelectBox()

      As with all of the items in AUI, the first task for each of these is to analyze usage to determine whether these are still needed (ie. must be ported, or can be deprecated directly).

      Attachments

        Issue Links

          Activity

            People

              support-lep@liferay.com SE Support
              marko.cikos Marko Čikoš
              Wesley Gong Wesley Gong
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Packages

                  Version Package