poowf / otter

A relatively automatic CRUD backend administration panel for Laravel
MIT License
259 stars 17 forks source link

* Input Type: Add 'textarea' type #42

Closed earboxer closed 5 years ago

earboxer commented 5 years ago

Implement 'textarea' as discussed in https://github.com/poowf/otter/issues/17#issuecomment-482763037

I based this off of master, so you'll have to fix some merge conflicts if you want to merge this in.

earboxer commented 5 years ago

One issue with this (and maybe with fields in otter in general) is that if trailing and preceding whitespace gets trimmed off of anything you try to save.

I assume that's unintentional: if any modification should happen, it should be defined in the eloquent Model as a mutator.