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

[QUESTION]how to use boostrap3? #19

Closed
1 of 2 tasks
QThans opened this issue May 16, 2020 · 0 comments
Closed
1 of 2 tasks

[QUESTION]how to use boostrap3? #19

QThans opened this issue May 16, 2020 · 0 comments
Labels
bug Something isn't working

Comments

@QThans
Copy link
Contributor

QThans commented May 16, 2020

Environment

Please provide as many details as you can:

  • Hosting type
    • Form.io
    • Local deployment
      • Version:
  • Formio.js version:
  • Frontend framework:
  • Browser:
  • Browser version:
<html>

<head>
  <link rel='stylesheet' href='https://stackpath.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css'>
  <link rel='stylesheet' href='https://unpkg.com/formiojs@latest/dist/formio.full.min.css'>
    <script src='https://unpkg.com/formiojs@latest/dist/formio.full.min.js'></script>
  <script type="text/javascript" charset="utf-8" src='language/zh-CN.js'></script>
  <script type="text/javascript" charset="utf-8" src='bootstrap3.js'></script>
  
  <script type='text/javascript'>
    Formio.use(bootstrap3);
    window.onload = function () {
      Formio.builder(document.getElementById('builder'), {}, {
        // baseUrl:'/',
        language: 'zh-CN',
        i18n: cn,
      }).then(function (form) {
      });
    };
  </script>
</head>

<body>
  <div id='builder'></div>
</body>

</html>

it is can not show success

@QThans QThans added the bug Something isn't working label May 16, 2020
@QThans QThans closed this as completed May 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant