Laravel: textarea does not refill when using Input::old

前端 未结 5 511
感情败类
感情败类 2021-02-07 17:39

I am experiencing that only the Input Textfields respond as expected when I write the code to repopulate a form (when errors were found for example) or when from a table row I c

5条回答
  •  栀梦
    栀梦 (楼主)
    2021-02-07 18:23

    This is another way to do the same but with the Forms component from laravel:

    {{ Form::textarea('content',Input::old('content'),array('id' => 'message')) }}
    

提交回复
热议问题