I have a form with a read-only text area field. I want the height of the box to be the same as when it is editing (I toggle forms into edit mode via a button). When the content is larger than the height, it should clip (when read-only), but this doesn't seem to work. Can be reproduced with this example:
I would expect the height of the text area to be 30.
Code:
isc.DynamicForm.create({ fields: [ { name: 'test', type: 'textarea', canEdit: false, clipStaticValue: true, defaultValue: '1\n2\n3\n4\n5\n6', height: 30, readOnlyDisplay: 'static', staticHeight: 30 } ] })
Comment