Create a widget for editing an amount and its unit of measurement.

Review Request #13051 — Created May 19, 2023 and submitted

Information

Djblets
release-3.x

Reviewers

Create a widget for editing an amount and its unit of measurement. This can be
used for setting an integer amount that can be described in a set of units,
for example a number of days, weeks, months, years, or a number of bytes,
kilobytes, megabytes, etc. The widget has a number input and a dropdown select
which contains the units to choose from.

  • Ran unit tests.
  • Tested with the upcoming client web-based logon change for Review Board
    that uses the widget.
Summary ID
Create a widget for editing an amount and its unit of measurement.
478dc05ff30c5693ac369e866baf2f9f4b8b9af4
Description From Last Updated

This is basically the same as $input.toggle(val)

daviddavid
david
  1. 
      
  2. djblets/forms/templates/djblets_forms/amount_selector_widget.html (Diff revision 1)
     
     
     
     
     
     
     
     
    Show all issues

    This is basically the same as $input.toggle(val)

  3. 
      
maubin
david
  1. Ship It!
  2. 
      
maubin
Review request changed
Status:
Completed
Change Summary:
Pushed to release-3.x (a16030b)