luci-base: form.js: implement AbstractValue.getUIElement()
authorJo-Philipp Wich <jo@mein.io>
Mon, 30 Dec 2019 13:40:57 +0000 (14:40 +0100)
committerJo-Philipp Wich <jo@mein.io>
Mon, 30 Dec 2019 13:51:40 +0000 (14:51 +0100)
commit9e259174323a406b93664e307bb8a50fc3d80483
treeadc140607d10b8e8e72426009b8d77e08d4dee6e
parentb0836b037e55bfc9201e60a9446f2f7800d7f195
luci-base: form.js: implement AbstractValue.getUIElement()

Introduce a new method `getUIElement()` which simplifies obtaining the
underlying per-section UI widget class instance for a from option object.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
modules/luci-base/htdocs/luci-static/resources/form.js