So I'm using the Forms & HTML package and I'm having some difficulties with outputting the data. For example:
when I use this code:
{!! Form::model($article) !!}
{!! Form::textarea('categories', null) !!}
{!! Form::close() !!}
What I want to achieve here, is to list all of the categories that the article is related to. Like this:
<textarea name="categories">
Cat1
Cat2
Cat5
</textarea>
But, I don't know how can I tell the form to output only a specific column, so what happens is that the textarea is filled with json data (which includes all of the rows).
I know that the best solution is to make a multiple selector, but in this case - I must use textarea.