I m a newbie in drupal 8. I have added two custom forms in my own custom module and store the two forms values in one database table. what is the code snippets or procedure to follow in drupal 8 custom module...
Hi everyone,
I have install the slick carouse, slick views. The Slick library and jqeasing were also available at the right position. I created a view using slick carousel. The only issue is that the autoplay do not work. I have check the "autoplay" and set the "autoplay speed" to 3000 at admin/config/media/slick/default.
Can any anyone tell why?
Environment:
Drupal 8.05
slick carousel 8.x-1.0-alpha4
slick views 8.x-1.0-alpha3
Slick library
jqeasing
I have a problem with the Drupal 8.Χ
Suddenly, while I was working with the program, I saw this message: The website encountered an unexpected error. Please try again later.
I have a form to which I’ve added an input element of type ‘date’. When I add a attribute-class property the date-picker behavior stops working. This is the code for the element:
$form['stop_date'] = array(
'#type' => 'date',
'#title' => t('Stop Date'),
'#default_value' => date("Y-m-d"),
'#id' => 'stop_date',
'#attributes' => array('class' => array('dateSel-Fld')), // ADD CLASS TO FORM ELEMENT
'#required' => true,);