[6.x]: "Save and add another" closes the field creation slideout

オープン 初心者向け
#21,301 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
66/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
php
領域
frontend

調査の方向性

レポートには、エントリータイプのフィールド作成用スライドアウトに至る再現可能な手順が示されていますが、ソースファイルやテストへの言及はありません。まず、スライドアウトの保存ドロップダウンと「保存して別の項目を追加」アクションをたどり、次に近くにある保存動作のテストを確認してください。フィールドが保存され、スライドアウトが空のフィールドを表示したまま開いていれば完了です。再現手順に従って確認してください。

索引モデルが issue の本文から書いたものです。

説明

bug repo:cms
What happened?
Description

When creating a new entry type, selecting "Save and add another" from the field creation slideout closes the slideout and returns to the Content tab.

Steps to reproduce
  1. Create a new entry type.
  2. Navigate to the Content tab.
  3. Open the field creation slideout and add a new field.
  4. Click the Save dropdown and select "Save and add another".
Expected behavior

The current field is saved, and the field creation slideout remains open with blank fields so another field can be created.

Actual behavior

The field is saved, but the slideout closes and returns to the Content tab.

Craft CMS version

6 Beta 2

PHP version

No response

Operating system and version

No response

Database type and version

No response

Image driver and version

No response

Installed plugins and versions
主要言語
PHP
スター
3.6k
フォーク
800
平均マージ
15時間 20分
マージ済み PR(30日)
715

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

craftcms/cms のほかの issue

craftcms/cms の issue をすべて見る

似ている issue

PHP の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。