question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Calling `.render()` on a form that already exists causes it to become hidden

See original GitHub issue

There’s a demonstration of this at https://jsfiddle.net/op1ajzu9/1/. I don’t understand the intention of this, but it does appear to be deliberate; Webform.render() calls this.showElement(false).

This seems to have been introduced here

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:6 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
randallknutsoncommented, May 9, 2019

redraw() is probably a better way of doing it. This already works very differently in the 4.x branch which we’re hoping to get released soon. If you’ve got a workaround for now we will just move forward and make sure this is correct in 4.x

0reactions
wag110894commented, Aug 6, 2019

Redraw has been added to our Core 4x renderer.

Read more comments on GitHub >

github_iconTop Results From Across the Web

ASP.NET MVC showing a hidden div after form submission if ...
Currently if the project Name or ID already exists, it just returns the row with those values from Entity Framework with no notification...
Read more >
Form Render Elements | Form API - Drupal
Form render elements are a subset of render elements, representing elements for HTML forms, which can be referenced in form arrays.
Read more >
Load an Existing Database Record to a React.js Form
We'll see in this guide that we can use React. js' state management approach to maintain the id value only within the React....
Read more >
Render Django Form Fields Manually - GeeksforGeeks
We have already covered on How to create and use a form in Django? ... This attribute is True if the form field...
Read more >
Formsets - Django documentation
It is expected that all forms are present in the POST data regardless. The management form is available as an attribute of the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found