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

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

Information

Review Board
release-4.0.x

Reviewers

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 ID
Add RB.FormView, a class for managing forms and fieldsets.
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.
aef95126add6a622f7f7008ae606633ee080d1a0
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...