e107inc / e107

e107 Bootstrap CMS (Content Management System) v2 with PHP, MySQL, HTML5, jQuery and Twitter Bootstrap. Issue Discussion Room: https://gitter.im/e107inc/e107
https://e107.org
GNU General Public License v3.0
322 stars 214 forks source link

Admin-UI: Setting readonly=true for a field containing an array value, posts 'Array' in the form results. #5016

Closed CaMer0n closed 1 year ago

CaMer0n commented 1 year ago

Bug Description

Setting a field to read-only when the field value is an array, posts 'Array' to form.

Solution

Ideally, the value should not be posted at all in readonly mode. However, this could have backward compatibility issues.