Skip to content

Improvements in Add New Custom Form Widget #3598

@prateekj117

Description

@prateekj117

Describe the bug
Add Custom Field Widget needs some improvements:

  • Add another Custom Field Button Available even when Session and Speakers are
    turned off.
  • When clicked, there is no way to delete the row/field if someone doesn't
    want to add a custom field. And when sessions and speakers are enabled, and
    someone clicked the Add Custom Field button, but don't want to submit a
    custom field, the system does not Save Draft or Publish an event and
    throws an error that Field cannot be null, which again makes it important
    to maybe have a simple button to add/cancel a field.
  • true printed above every custom field row widget.
  • Make form field as a dropdown with three options:
    • Session
    • Speaker
    • Attendee

To Reproduce
Steps to reproduce the behaviour:

  1. Create an event.
  2. Go to Sessions and Speakers Step.
  3. Test the Custom Fields button for the above-mentioned bugs.

Expected behaviour
Add Custom Field widget should work properly.

Screenshots
Screenshot from 2019-11-04 03-57-08

Additional context
Up for grabs.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions