tslittle / tiffanymaster

0 stars 0 forks source link

Create a dialog box where if "Create purchase order" is checked and provider isn't filled in, it stops the form submit. #49

Closed tslittle closed 3 years ago

tslittle commented 3 years ago

See provider/invoice-component for how to do an error dialog box.

tslittle commented 3 years ago

There is a YAOUS for default provider, so I need to update the upload.service file to pull that in, and then if there's still no provider in the form to throw the error. So it's two pieces:

  1. Create the error for null provider
  2. Make sure to pull in the provider via the YAOUS.
tslittle commented 3 years ago

I think this is handled by #24 . The Upload button is not available unless there's a provider listed, and the [startID] for the provider field is going to pick up what's coming from the YAOUS. So it wouldn't be an invisible "pick it up" later value, you'd see it from the outset. So marking this as resolved.