getgrav / grav-learn

Grav Learn (exhaustive grav documentation)
http://learn.getgrav.org
MIT License
227 stars 786 forks source link

Undocumented property `value_type` in Array field #1043

Closed aricooperdavis closed 1 year ago

aricooperdavis commented 1 year ago

The Array field introduced in the Form plugin has an undocumented property value_type which can be set to value_type: textarea to change the value entry element from an <input> to a <textarea>.

image image

This is useful, but undocumented.

Shall I document this, or is there a reason why it's not in the docs at the moment?

rhukster commented 1 year ago

Please document it :)

It's very hard for me to keep the code and docs in sync by myself so any help is appreciated.