Check for required fields during publishing

This commit is contained in:
hackrush 2017-08-10 02:33:06 +05:30
parent 5aa28433bf
commit bd11952d41
2 changed files with 3 additions and 0 deletions

View file

@ -21,6 +21,7 @@ Web UI version numbers should always match the corresponding version of LBRY App
* Removed placeholder values from price selection form fields, which was causing confusion that these were real values (#426)
* Fixed showing "other currency" help tip in publish form, which was caused due to not "setting" state for price
* Now using setState in formFieldPrice
* Fixed a bug which enabled the user to publish without filling/checking required fields
*
### Deprecated

View file

@ -564,6 +564,7 @@ class PublishForm extends React.PureComponent {
: <div>
<div className="card__content">
<FormRow
ref="meta_title"
label={__("Title")}
type="text"
name="title"
@ -844,6 +845,7 @@ class PublishForm extends React.PureComponent {
</div>
<div className="card__content">
<FormRow
ref="tosAgree"
label={
<span>
{__("I agree to the")}