Responsive Layout Error

Questions and answers for designing and implementing forms in Servoy

Responsive Layout Error

Postby doug » Mon Dec 12, 2016 11:56 pm

This is the first form I've created with the responsive layout box checked and I get the following error. I downloaded the pdfViewer to test, but haven't even tried using it yet so I don't know why there would be a reference to it when creating the form.

"Unable to get property 'firstElementChild' of undefined or null reference
http://localhost:8080/pdfviewer/pdfView ... .js:6203:5
TypeError: Unable to get property 'firstElementChild' of undefined or null reference"

How do I get rid of this error so I can actually build the form.
doug
 
Posts: 16
Joined: Mon Dec 12, 2016 11:45 pm

Re: Responsive Layout Error

Postby doug » Tue Dec 13, 2016 4:20 am

Thought I had it figured out, but I'm still getting the same error whenever I try to create a responsive form.
doug
 
Posts: 16
Joined: Mon Dec 12, 2016 11:45 pm

Re: Responsive Layout Error

Postby sean » Thu Dec 15, 2016 5:59 am

Hi Doug,

Thanks for your interest in the PDF Viewer component.
This is a known issue. It seems that the HTML5-based form editor is getting errors when digesting the internal viewer.js file.
This file is unmodified from the PDF.JS library and we are looking into why this happens.

It should have no effect at runtime, but the only work-around in the IDE right now is to toggle to the classic editor.
Attachments
Capture.PNG
Capture.PNG (7.76 KiB) Viewed 4354 times
Software Engineer
Servoy USA
sean
 
Posts: 370
Joined: Mon May 21, 2007 6:26 pm
Location: USA

Re: Responsive Layout Error

Postby sean » Thu Dec 15, 2016 6:23 pm

Hi Doug,

This is now fixed in the latest release of the component, which is also available through the Web Package Manager.
Please let me know if there are any other problems.

Also, you can report any future issues directly on the GitHub project's issues tracker.
Then all contributors get an immediate notification and you get faster turn-around ;-)
Software Engineer
Servoy USA
sean
 
Posts: 370
Joined: Mon May 21, 2007 6:26 pm
Location: USA


Return to Forms

Who is online

Users browsing this forum: Google [Bot] and 6 guests

cron