Pass .toLocaleString() to range input

I have an range input to choose a certain price. I’d like the number to be displayed with spaces (I’m french). How can I do that ?

search.addWidget(
instantsearch.widgets.rangeInput({
container: ‘#cote-d’,
attributeName: ‘cote_actual’,
autoHideContainer: true,
collapsible: true,
labels: {
separator: ‘à’,
submit: ‘Go’
},
templates: {
header: ‘Cote en €’
}
})
);

Hi Quentin,

So that we can troubleshoot this together, can you create a basic implementation using Codesandbox.io? You can use one of these templates to get started:

Thanks in advance. I look forward to your reply!
Best regards,

Jason