Auto Binding :uppercase

I have setup auto binding on quite a few inputs, My DB has always had its values stored as Uppercase. Anyway I can force :uppercase on auto binding inputs?

2 Likes

Currently no. The workaround is to store things non capitalized and display them with upper case

Got it thanks @emmanuel

Quick follow up to this @emmanuel

I have a user facing text input field using auto-binding, and whilst I’m ok storing this field as lowercase and capitalising upon display later, can I, similarly, force the user input to be lowercase before the auto-binding takes place? Or am I wholly reliant on the user not entering any uppercase characters?

Thanks.

If you need to transform the content, I recommend using a ‘when the input’s value is changed’ event

1 Like