There is an example in the test directory On Thu, Jul 4, 2019 at 2:32 AM J Carter via Gnoga-list < gnoga-list@lists.sourceforge.net> wrote:
> If I create a Form_Element_Type with Input_Type => "file", I get a button > labeled "Browse..." with "No file selected." next to it. Clicking on it > opens a file selection dialog. If I navigate to a file, say > ~/Code/gnoga/src/gnoga.ads, > and select "Open", "No file selected." changes to "gnoga.ads" and Value > returns "C:\fakepath\gnoga.ads". This Value is deliberate and done for > security reasons, apparently. > > What is needed is the "files" property. This is supposed to return a list > of files, since this input type allows multiselect. As a String it > returns "[object FileList]", and I can't see it being more useful as an > Integer or Float. > > Is there a way to use the "file" input type from Gnoga? > > -- > Jeff Carter > "Now go away or I shall taunt you a second time." > Monty Python and the Holy Gral > _______________________________________________ > Gnoga-list mailing list > Gnoga-list@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gnoga-list >
_______________________________________________ Gnoga-list mailing list Gnoga-list@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gnoga-list