Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add UI to allow user to delete/clear a field value

See original GitHub issue

Generated from

When editing a row in a collection, it would be great to be able to clear a field, especially an enum field specified by enumValues. Doing so would remove the field from storage of that entity. If the field is required, it should generate an error. Otherwise, it should be allowed to remove a field that’s been set.

Hope this is enough information. Thanks @fgatti675 for encouraging filing an Issue.

Issue Analytics

  • State:open
  • Created a year ago
  • Comments:13 (5 by maintainers)

github_iconTop GitHub Comments

Andre3424commented, Oct 18, 2022

@fgatti675 Just read the conversation above and we are looking for the same. So, lets day the category, which is “Cameras” in the screenshot above is optional. The user can select a category or none. Lets assume the user has selected “Cameras”. Now he decides to remove the category, this is not possible now.

fgatti675commented, Oct 10, 2022

Hi @rickpasetto So having a clear button when a cell is selected in the collection view, that sets the value to null would work for you?

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to clear field value for a field that has a UI Policy ...
I have a field 'Action on Accounts' - has 3 options: Create / Modify / Delete. Condition requested by the customer is If...
Read more >
Delete input with value in (confirmation?)
My preferred approach would be to delete the field immediately and show a toast message with embedded action that would allow the user...
Read more >
swift - UI Test deleting text in text field
When you tap and hold on the text field it opens menu where you can tap on "Select all" button. After that all...
Read more >
HTML | Clearing the input field
Let us check out both of them. Method 1: Clearing Input on Focus. Syntax: <input onfocus=this.value=''>. Approach: Create an input field.
Read more >
Add and append choice(s) | Help - Zoho Deluge
Overview. The Add deluge task replaces all the existing choices in a single-select, multi-select field or a lookup field type with specified choices....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Post

No results found

github_iconTop Related Hashnode Post

No results found