Replies: 3 comments 17 replies
-
You can create a custom filter template in the web part to manipulate the strings using handlebars helper methods. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
@kasperbolarsen - So close to it being perfect! If only there was a way to handle the data in the pnp-filtersearchbox so that we get just the name rather than the whole object. I've tried and tried to do this but just can't get it to work. It would be great if someone can come up with a solution to this, as it would mean that a person column with mutliple values would be supported by the filters web part. I feel that we are close, but at the moment, having that really ugly object in the pnp-filtersearchbox is just not going to float for our use case - despite it being functional, the users are (somewhat understandably) fixated on getting it looking 'correct'. |
Beta Was this translation helpful? Give feedback.
-
Hi,
I'm not sure if this is an issue or a 'by design' thing, but hoping someone has some suggestions that may help me.
Here's the scenario:
The issue I have is that neither filter looks how I want it to look.
The filter values using RefinableString00 i.e., mapped to OWS_MultiplePeople looks like this:
As you can see, when multiple people are selected, the names are concatenated.
The filter values using RefinableString01 i.e., mapped to OWS_Q_USER_MultiplePeople looks like this:
As you can see, whilst the number of filter values (and their total) is correct, the entire user object is returned.
What I would like is the filter to look like this:
Can anyone suggest how I can get the desired appearance?
Note, I accidentally added this to a closed issue #2096 which has some further information, but nothing that has helped me.
Thanks,
Joe
Beta Was this translation helpful? Give feedback.
All reactions