ICEfaces
  1. ICEfaces
  2. ICE-4786

inputFile onchange attribute does not work

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Won't Fix
    • Affects Version/s: 1.8.1
    • Fix Version/s: 1.8.2
    • Component/s: ICE-Components
    • Labels:
      None
    • Environment:
      All

      Description

      The onchange event does not work. Adding JavaScript to this attribute does not get executed.

        Activity

        Hide
        Adnan Durrani added a comment -

        The fact that input file element renderes inside an iframe is preventing to add onchange on the file element. As it will add complexity for developers to add the function definition inside the parent document and reference them from the elements which are inside an iframe.

        However the ICE-1641 somewhat covers the need of onchange event. Where setting "autoUpload" to true, will automatically upload the file on selection.

        Show
        Adnan Durrani added a comment - The fact that input file element renderes inside an iframe is preventing to add onchange on the file element. As it will add complexity for developers to add the function definition inside the parent document and reference them from the elements which are inside an iframe. However the ICE-1641 somewhat covers the need of onchange event. Where setting "autoUpload" to true, will automatically upload the file on selection.

          People

          • Assignee:
            Unassigned
            Reporter:
            Arran Mccullough
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: