GithubHelp home page GithubHelp logo

bootstrap3's Introduction

Form.io Bootstrap 3 Templates

This repository will change the rendering of forms in formio.js so that it uses html and classes compatible with the Bootstrap 3 framework.

Usage

import bootstrap3 from '@formio/bootstrap3';
import { Formio } from 'formiojs';

Formio.use(bootstrap3);

Script

Formio.Templates.framework = "bootstrap3"

If icon is not show

<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">
<script>
  Formio.icons = "fontawesome"
</script>

bootstrap3's People

Contributors

travist avatar randallknutson avatar alexandraRamanenka avatar TanyaGashtold avatar vishugowd avatar AlehKatsiubaFormIO avatar dependabot[bot] avatar olegkatuba avatar antonSoftensity avatar RomanLetsuk avatar roflanKisel avatar Tkachez avatar AlexeyDavyd avatar Alena-Levina avatar aiwebb avatar AlexanderYakubovskiy avatar dianatsevan avatar DmitryNistratov avatar QThans avatar YuryRybak avatar mikekotikov avatar

Stargazers

 avatar

Watchers

Travis Tidwell avatar Randall Knutson avatar James Cloos avatar Chase Sydow avatar Edwin Anciani avatar  avatar  avatar Jeriah Henley avatar Denise Kay avatar kadir avatar

Forkers

forkedIt geekeren

bootstrap3's Issues

Licence

Hello,

We interested in using form.io for a project however there is no licence for this module.

Can you tell us what the license is?

Integration with vue-formio

I'm currently trying to integrate vue-formio into an existing project which is already using Bootstrap 3.

I've tried several methods to override the form styling with this package but haven't been very successful, could you please provide some advice (or possible documentation) on how this can be integrated with the vue-formio package?

[QUESTION]how to use boostrap3?

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/[email protected]/dist/formio.full.min.css'>
    <script src='https://unpkg.com/[email protected]/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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.