zach-capalbo / flammarion

The nifty ruby gui toolkit.
Other
285 stars 11 forks source link

Add password input option and fix input value bug #41

Closed rnadler closed 7 years ago

rnadler commented 7 years ago
  1. Add :password as an input option. When true a password text box (form input type='password') is used which echos '*' characters instead of the typed text. This option only takes effect when :multiline is false.
  2. The :value input option was not saving the initial setting to the DeferredValue object. Fixed.

Added a new sample (Password) to tests/samples.rb that demonstrates both of these changes.

zach-capalbo commented 7 years ago

Awesome! Thanks! I'll get this into a new version of the gem soon