-
Notifications
You must be signed in to change notification settings - Fork 0
Unable to Remove Optional Fields of a Company #3
Copy link
Copy link
Open
Description
The current implementation of the edit command does not allow for setting an optional field (PHONE, ADDRESS) to empty. To remove an optional field, the user would have to delete the company and re-add it without the optional field.
It would be useful for the user to able to remove optional fields in case they entered incorrect data.
Example:
- Add a company with an optional field (e.g.
add n/Google LLC t/FAANG e/contact@google.com p/1234567 t/tech) - The user realises that they entered an incorrect phone number but is also unable to find the Google's phone number.
- The user then tries to edit the company with the
editcommand and set thePHONEfield to empty, but is met with an error:

Reactions are currently unavailable