GithubHelp home page GithubHelp logo

bootstrap's Issues

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/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

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?

Untranslatable placeholder in builder sidebar component

There is an untraslatable placeholder "Search field(s)" in builderSidebar template. This bug affects templates for bootstrap versions 3 and 5.

To Reproduce

  1. Use bootstrap5 template
  2. Add configuration of language and i18n resources for another language (key Search field(s)) to Formio.createForm method
  3. Create form of form builder
  4. Placeholder in search input still displays "Search field(s)"

Expected behavior
Placeholder of builder sidebar component is translated by i18n localization resources.

class="form-control"

class="form-control". how to change

this method not working

{
"label": "Text Field",
"applyMaskOn": "change",
"tableView": true,
"key": "textField",
"attributes": {
"id": "TestID",
"calss":"TEST_CLASS"
},
"type": "textfield",
"input": true
}

Bootstrap5: Missing icons for panel collapse/uncollapse

Hi Formio Team,

please can you add the icons for panel collapse/uncollapse.

they are used here:

<i class="formio-collapse-icon {{ctx.iconClass(ctx.collapsed ? 'plus-square-o' : 'minus-square-o')}} text-muted" data-title="Collapse Panel"></i>

here I think the icons must be defined: https://github.com/formio/bootstrap/blob/main/src/templates/bootstrap5/iconClass.ts
case 'plus-square-o':
biName = 'plus-square';
break;
case 'minus-square-o':
biName = 'dash-square';
break;

Best regards
Ralf

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.