Welcome to WuJiGu Developer Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
461 views
in Technique[技术] by (71.8m points)

laravel - Clearing old input values?

I have a create form. If the user exists I redirect in the Form Request:

$this->redirect = route('user.edit', $id);

The user is redirected to the edit form.

Yet, the old values from the original create form are passed to the edit form. I do not wish this to happen.

How can old input values be cleared?

question from:https://stackoverflow.com/questions/65847973/clearing-old-input-values

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to WuJiGu Developer Q&A Community for programmer and developer-Open, Learning and Share
...