Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
The tagsinput it does not work well. If I want to use the code
<div class="form-group"> <label>Tags</label> <div class="bootstrap-tagsinput"><input type="text" placeholder=""></div> <input type="text" class="form-control inputtags" style="display: none;"> </div>
what is in the template's forms-advanced-form.html, it just doesn't work well. You can see there: http://prntscr.com/n15n41. I noticed, that by default, the required CSS and JS is not in the template. So I added
<link rel="stylesheet" href="https://demo.getstisla.com/assets/modules/bootstrap-tagsinput/dist/bootstrap-tagsinput.css">
to the header, and
<script src="https://demo.getstisla.com/assets/modules/bootstrap-tagsinput/dist/bootstrap-tagsinput.min.js"></script> <script src="https://demo.getstisla.com/assets/modules/bootstrap-tagsinput/src/bootstrap-tagsinput.js"></script>
to the body. After that, there is some CSS, but its not the perfect, and the JS is not working. http://prntscr.com/n15oeo
So I decided to change the default tagsinput code to
<div class="form-group"> <label>Tags</label><br> <input type="text" class="form-control" data-role="tagsinput"> </div>
But the CSS is still not good. It doesn't look like the original.
<input type="text" class="form-control tagsinput" data-role="tagsinput" style="width: 100%;">
but its still not working. And there is no error for this, in the console.
This is in my console:
There are some errors, but I think none of these is related to this