qnabot-on-aws icon indicating copy to clipboard operation
qnabot-on-aws copied to clipboard

Cannot save an item with no Response Card, if you accidentally clicked on card Title or Card Image URL

Open rstrahan opened this issue 6 years ago • 1 comments

Actual Behavior

When adding a new item, if you open 'Advanced', the UI indicates that 'Card Title' and 'Card Image URL' are Required. This is not accurate. They can be left empty is there is no card for the item. However, if you click on either one of these fields at all, there is no going back.. the field suddenly becomes Required - if there is no way to save the item without cancelling.

image

Expected Behavior

Cards are not required for an item. However, if a Card is defined, then both fields must be entered. If user clicks (perhaps accidentally) on one of these fields, they should still be able to save the item with the fields blank.

Steps to Reproduce the Problem

  1. Add new item. Complete standard fields (ID, Question, Answer)
  2. Open Advanced. Click in the Card Title field
  3. try to save item without adding a card

rstrahan avatar May 01 '18 12:05 rstrahan

A workaround to this is, after clearing the field (i.e Card Image Url), 1: focus a different field 2: click the disabled 'Update' button ( it becomes enabled). 3: Then click 'Update" again to save.

If that doesn't work, change the value of another field, try button again. then go back to record and reset the other field back

pdkn avatar Jan 31 '20 16:01 pdkn