Commit graph

6 commits

Author SHA1 Message Date
Jeremy Kauffman 0a543a3dcd Merge branch 'tipping_button' of https://github.com/hackrush01/lbry-app into hackrush01-tipping_button 2017-09-07 08:20:23 -04:00
Alex Liebowitz de08c04158 Add regexp option to FormField
Still needs logic to notify the form when there's invalid input

Add address validation to Send page

Trim address input on Send page

Adds trim prop to FormField

Improve LBRY address regexp

On Send page, don't prevent form submit, and only show error on blur

This isn't a full fix (it only handles blur, it's still the form's
job to do validation on submit). A proper solution to this (that can
generalize to other forms) will probably involve looking at all of the
inputs and asking each one whether it has an error, which will
require some tricky state management.

On Send page, use error message from daemon

Update CHANGELOG.md

Further improve invalid address regexp

 - Remove incorrect check for second character
 - Add "O" to chars excluded from b58 section
 - Allow for 33-character addresses

Don't internationalize daemon error message on Send page

remove console, add i18n
2017-09-06 14:53:57 -04:00
hackrush b8b3a6ffd2 Changed modals to use constants. 2017-08-08 03:49:22 +05:30
Jeremy Kauffman 2172555096 change prettier options 2017-06-06 17:19:12 -04:00
Sean Yesmunt c8b949f020 format with prettier 2017-06-05 21:21:55 -07:00
Jeremy Kauffman 3c325b2f0a where's the triggers?! also very broken 2017-05-10 20:59:47 -04:00