Make improvements to RB.DialogView
Review Request #10820 — Created Jan. 13, 2020 and submitted — Latest diff uploaded
This review request changes makes improvements to
RB.DialogView.It introduces a property on
RB.DialogViewwhich is a map of buttons in the dialog from buttonids to
button elements. Theidfield of aRB.DialogViewbutton is now required so that
buttons can be referenced by their id in the map. In addition,disabledandclass
are added as button keys so that buttons can be created with initial state set to disabled
and with classes set, respectively.
Unit tests:
- new dialog view button properties (id, class, disabled)