Drupal 8 - How to hide help link About text formats and text format guidelines
Problem In drupal textarea field, it was always a pain to see the two links…
February 01, 2018
Code that I have is:
handleSubmit() {
this.ui.form.validate({
debug: false,
highlight: function (element) {
$(element).closest('.form-group').addClass('has-error');
},
unhighlight: function (element) {
$(element).closest('.form-group').removeClass('has-error');
},
errorElement: 'span',
errorClass: 'help-block',
errorPlacement: function (error, element) {
if (element.parent('.assertion-group').length) {
error.insertAfter(element.parent());
} else {
error.insertAfter(element);
}
},
submitHandler: function () {
//my code to submit
}.bind(this)
});
},
It was:
<button class="btn btn-success" id="buttonAction" type="button">Submit</button>
I changed it to:
<button class="btn btn-success" id="buttonAction" type="submit">Submit</button>
So, I needed to change button type from the button to submit. And, the problem resolved. Huh
Problem In drupal textarea field, it was always a pain to see the two links…
Tag the image, by seeing its image id, from docker images command docker tag 04d…
To download this code from git: See: Gyanblog Github
Suppose you have two lists, and you want Union and Intersection of those two…
Introduction Often in automation, we need to install stuff from command line…
Lets implement a command shell by using a command dispatcher. The objective is…
Introduction So you have a Django project, and want to run it using docker image…
Introduction It is very important to introduce few process so that your code and…
Introduction In this post, we will see a sample Jenkin Pipeline Groovy script…
Introduction We often require to execute in timed manner, i.e. to specify a max…
Introduction In some of the cases, we need to specify namespace name along with…
Introduction In most of cases, you are not pulling images from docker hub public…