Account created on 11 November 2009, almost 15 years ago
#

Recent comments

πŸ‡·πŸ‡ΊRussia xandeadx

@kalpanajaiswal try change label from "Π‘ΠΎΠ΄Π΅Ρ€ΠΆΠΈΠΌΠΎΠ΅" to any word

πŸ‡·πŸ‡ΊRussia xandeadx

If you don't like case with F5, another example β€” user click button twice, using "back" in browser, and click third time to button.

πŸ‡·πŸ‡ΊRussia xandeadx

On F5 button form submitted, not just "refreshed". Browser send previous POST request.

πŸ‡·πŸ‡ΊRussia xandeadx

On F5 form submitted, but $form_state storage disappears

πŸ‡·πŸ‡ΊRussia xandeadx

Newbie developers (for which documentation has been written) do not use complicated dev environment like docker, ddev, etc. They install composer, drupal, drush and want to start development. vendor/bin/drush is native, independent of OS, works for everyone method to execute drush. Advanced developers can use any method for execute drush - drush, d, sudo drush, php vendor/drush/drush/drush.

πŸ‡·πŸ‡ΊRussia xandeadx

Global drush is optional feature, also don't work on Windows system. Correct path to execute drush - vendor/bin/drush

πŸ‡·πŸ‡ΊRussia xandeadx

Fix drush path

πŸ‡·πŸ‡ΊRussia xandeadx

Code to reproduce:

  public function buildForm(array $form, FormStateInterface $form_state): array {
    $form['textfield'] = [
      '#type' => 'textfield',
      '#ajax' => [
        'callback' => '::ajaxUpdateTextfield',
        'event' => 'input',
        'wrapper' => 'textfield',
      ],
      '#prefix' => '<div id="textfield">',
      '#suffix' => '</div>',
    ];

    return $form;
  }

  public static function ajaxUpdateTextfield(array $form, FormStateInterface $form_state): array {
    return $form['textfield'];
  }
πŸ‡·πŸ‡ΊRussia xandeadx

Same errors on Drupal 10.0.2

πŸ› | EAV Field | Taxonomy
πŸ‡·πŸ‡ΊRussia xandeadx

Go to admin/structure/eav/attributes/form-display and change term widget.

Production build 0.71.5 2024