Add RB.FormView, a class for managing forms and fieldsets.

Review Request #10847 — Created Jan. 21, 2020 and submitted

chipx86
Review Board
release-4.0.x
reviewboard

This introduces RB.FormView, which is designed to be used with
.rb-c-form classes, and aids in managing forms. Right now, it's pretty
basic, offering only support for expanding/collapsing
.rb-c-form-fieldset components. Down the road, it'll be a useful place
for adding common form functionality that we're otherwise potentially
re-implementing in several other form implementations.

This is currently being used for the Change Form, to implement the
collapsed fieldset support there.

Unit tests passed.

Manually tested this with Change Form.

Summary
Add RB.FormView, a class for managing forms and fieldsets.
Description From Last Updated

Col: 51 Missing semicolon.

reviewbotreviewbot

Col: 48 Missing semicolon.

reviewbotreviewbot
Checks run (1 failed, 1 succeeded)
flake8 passed.
JSHint failed.

JSHint

chipx86
david
  1. Ship It!
  2. 
      
chipx86
Review request changed

Status: Closed (submitted)

Change Summary:

Pushed to release-4.0.x (4e0f9e4)
Loading...