Limit or Control What gets Input into a redux-form Field using normalizing

InstructorRory Smith

Share this video with your friends

Send Tweet

Sometimes we need to add a limitation to what the user is inputting into a redux-form Field. For example, in a license plate lookup, we want all the letters to be uppercase regardless of whether the user types them in caps, or when taking a user’s name, we may want the format to be capitalized.

azimjon
~ 6 years ago

How to dynamically pass options to customSelect from register form Field?

Gareth
~ 6 years ago

The values aren't capitalized in the UI result. Also why not just use String.toUpperCase() versus installing another npm package.

Gareth
~ 6 years ago

My bad. It capitalizes the first letter. Missed that.