SELECT 'form' AS component, 'post' AS method;
SELECT 'select' AS type
, json('[
{ "label": "a", "value": "a", "selected": true },
{ "label": "b", "value": "b", "selected": false },
{ "label": "c", "value": "b", "selected": true },
]') AS options
, TRUE AS multiple
, TRUE AS dropdown
, TRUE AS readonly
, 's' AS name
;
SELECT 'textarea' AS type
, 'abc' AS value
, 'ta' AS name
, TRUE AS readonly
;
disabled works fine for textarea and select and dropdown select
readonly works fine for textarea but not for dropdown select, so I removed implementation of readonly on select altogether
Closes #450
Tested with this: