Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dg.render() won't render a form, unless the form is wrapped in an element #993

Open
signalpoint opened this issue Dec 6, 2017 · 0 comments

Comments

@signalpoint
Copy link
Owner

Doesn't work

  dg.modal({
    _theme: 'form',
    _id: 'SearchControlsForm'
  });

Works

  var element = {};
  element.controls = {
    _theme: 'form',
    _id: 'SearchControlsForm'
  };
  dg.modal(element);

This could have to do with the Form being loaded in a modal though...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant