Clone
danhaywood <dan@haywood-associates.co.uk>
committed
on 02 May
ISIS-2001: wip, add support for disable/hide for string and boolean types.
Still some issues, though:
- we don't render any of the params as… Show more
ISIS-2001: wip, add support for disable/hide for string and boolean types.

Still some issues, though:

- we don't render any of the params as disabled by default.  the initial logic to hide params is in ActionParametersForm, so could add 'disable' logic in there.

- however, also, really that logic should probably move to ScalarModel (currently whetherHidden/Disabled for params always returns false/null, which is now a lie - should push this logic further back).

Also

- couldn't get disablement working for blob panels, so that is not yet supported (multipart exceptions)

- ? get (ignored) exception if hit Esc (rather than Cancel button)

Show less

master + 13 more