[データベース] 確認画面『前へ』で入力値を保持するようにしました #2267
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
概要
データベースプラグインにおいて、 確認画面から「前へ」で戻った際に入力値が保持されない事象を修正しました。
対応内容の詳細:
DatabasesPlugin@inputで$request->flash()を有効化し、戻り時の入力値をセッションへ保存frame_idを hidden 追加し、戻り時にold()が正しく参照されるように改善old('categories_id', ...)キーを修正(以前はold('category', ...)になっていた)確認観点:
レビュー完了希望日
軽微な改修のため、いつでも問題ありません。
関連Pull requests/Issues
特になし
参考
再現手順例: 編集 → 単一選択を変更 → 確認 → 前へ → 変更が元に戻る/保持されない
DB変更の有無
無し
チェックリスト