

- BOOTSTRAP BUILDER WITH FORMS HOW TO
- BOOTSTRAP BUILDER WITH FORMS INSTALL
- BOOTSTRAP BUILDER WITH FORMS DOWNLOAD
- BOOTSTRAP BUILDER WITH FORMS FREE
To use with Bootstrap library - you can set this to any string starting with Refer the Bootstrap Info section for details and pre-requisites on setting this property. String | int, the bootstrap library version to be used for the extension. The Form Builder widget accepts these following settings: Option 2: SVG / JS version of Font Awesome (recommended for cleaner scaling vector icons and features like icon layers):Īlternatively, you can use the FontAwesomeAsset from the kartik-v/yii2-icons package to load the SVG/JS version. Option 1: Font CSS version of Font Awesome: To include font awesome assets on your page, include the following markup on the HEAD section of your view layout file, when bsVersion is set to 4.x or 5.x.
BOOTSTRAP BUILDER WITH FORMS FREE
Alternatively, you can load the free version of Font Awesome from their CDN.įor Krajee extensions and demos, the Font Awesome Free version is used and loaded as the Icons Display Package on all the Yii2 demo layouts.
BOOTSTRAP BUILDER WITH FORMS DOWNLOAD
You can download Font Awesome 5.x icons from the icons website. Krajee extensions therefore will use Font Awesome 5.x icons instead of glyphicons when working with Bootstrap 5.x / 4.x. 'bsDependencyEnabled' => false // do not load bootstrap assets for a specific asset bundleīootstrap 5.x / 4.x does not include glyphicons or any other icons framework bundled with the library. 'adminEmail' => Bundle Specific Override: Set bsDependencyEnabled to false for the specific asset bundle within Yii2 Asset Manager component in your Yii 2 application config file. you need to ensure you load the Bootstrap CSS/JS manually in your view layout before Krajee CSS/JS assets 'bsDependencyEnabled' => false, // this will not load Bootstrap CSS and JS for all Krajee extensions This setting will be applied for all Krajee Extension Asset Bundles that depend on Bootstrap assets. Global Override: Set Yii::$app->params to false in your Yii 2 application config params.php. One can override this and prevent the default yii2 bootstrap assets (CSS & JS) from loading by doing one or all of the following: This is controlled by the property bsDependencyEnabled within the asset bundle (which defaults to true). Yii\bootstrap5\BootstrapAsset and/or yii\bootstrap5\BootstrapPluginAsset for bootstrap 5.x ( bsVersion = 5 setting) Yii\bootstrap4\BootstrapAsset and/or yii\bootstrap4\BootstrapPluginAsset for bootstrap 4.x ( bsVersion = 4 setting)

Yii\bootstrap\BootstrapAsset and/or yii\bootstrap\BootstrapPluginAsset for bootstrap 3.x ( bsVersion = 3 setting) The Krajee extension asset bundle(s) by default depend on one of the following asset bundles to load the Bootstrap CSS and JS: "yiisoft/yii2-bootstrap": Bootstrap CSS/JS
BOOTSTRAP BUILDER WITH FORMS INSTALL
"yiisoft/yii2-bootstrap4": install yiisoft/yii2-bootstrap, add the repo to the require section of your application's composer.json. "yiisoft/yii2-bootstrap5": install yiisoft/yii2-bootstrap4, add the repo to the require section of your application's composer.json. To install yiisoft/yii2-bootstrap5, add the repo to the require section of your application's composer.json. Similarly, if bsVersion is set to 3.x and yiisoft/yii2-bootstrap is not installed, an exception message will be thrown mentioning you to install the yiisoft/yii2-bootstrap extension. If bsVersion is set to 4.x and yiisoft/yii2-bootstrap4 is not installed, then an exception message will be thrown mentioning you to install the yiisoft/yii2-bootstrap4 extension. If bsVersion is set to 5.x and yiisoft/yii2-bootstrap5 is not installed, then an exception message will be thrown mentioning you to install the yiisoft/yii2-bootstrap5 extension. This dependency has not been pre-built into the composer configuration for Krajee extensions, to allow better control to the developers in configuring their bootstrap library version. $(document).You need to install one of yiisoft/yii2-bootstrap or yiisoft/yii2-bootstrap4 or yiisoft/yii2-bootstrap5 extensions manually in your application to enable Bootstrap 3.x or 4.x or 5.x functionality respectively. In last, call the plugin in jQuery document ready function to active the formBuilder. Create HTML div element in which form builder rendered dynamically. After that, include formBuilder JavaScript files in your website/app. However, Bootstrap necessary for some (buttons, notification, etc) styles.Ģ. The formBuilder generates styles dynamically. īasically, the Bootstrap CSS is optional. In first step, load the jQuery and Bootstrap 4 CSS into your web project.
BOOTSTRAP BUILDER WITH FORMS HOW TO
How to Create Drag And Drop Form Builder Using Bootstrap 4ġ.
