Jump to content

Clearing custom field


Day_

Recommended Posts

I have a custom field set up so that users can pick from a list where they sit in the stadium, I'm having a thick day as it is so maybe it's something obvious, but say a user then decides he/she doesn't want to show where they sit anymore there is no option (that I can see) to clear the field. I added a blank space in as a choice but it still leaves the ticket icon, any ideas? 

Screen Shot 2016-06-17 at 16.43.50.png

Screen Shot 2016-06-17 at 16.43.19.png Screen Shot 2016-06-17 at 16.46.50.png

Link to comment
Share on other sites

Just been playing with the settings, changed from select box to checkbox set, that didn't work as users could select multiple options, reverted back to select box and the select box has changed, now I can cmd + click to deselect.

 

Screen Shot 2016-06-17 at 20.29.27.png

Link to comment
Share on other sites

Interesting behaviour - I'm going to log that as a bug. But here's a solution to your problem:

Change the space option to None

Set this as your display format:

<span class='STHolder' data-role='{content}'><i class='fa fa-ticket'></i>{content}</span>

And then pop this in your css:

span[data-role="None"]{
  display:none;
}

 

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...