Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
Day_ Posted June 17, 2016 Posted June 17, 2016 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?
Nathan Explosion Posted June 17, 2016 Posted June 17, 2016 Could you provide details on how you've put the item in place in the user pane - is it a plugin or a template edit? Provide the existing code you have used, including css (if any)
Day_ Posted June 17, 2016 Author Posted June 17, 2016 No plugins being used, just custom profile field
Adlago Posted June 17, 2016 Posted June 17, 2016 Second closing tag '/span' in Display format what role?
Day_ Posted June 17, 2016 Author Posted June 17, 2016 2 minutes ago, Adlago said: Second closing tag '/span' in Display format what role? No role, just a mistake. Removed now.
Day_ Posted June 17, 2016 Author Posted June 17, 2016 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.
Nathan Explosion Posted June 17, 2016 Posted June 17, 2016 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; }
Recommended Posts
Archived
This topic is now archived and is closed to further replies.