Make buttons look inactive by adding the disabled prop to. You can use the as prop to render whatever your heart desires. String refs were removed in React v16. With template-driven forms, template directives are used to build an internal representation of the form. Validation can be thought of as a box, or a function, that takes in user inputs, and says if the data is valid. our event. And would there even be forms in the perfect world if things were so perfect the website knew everything about you, already? we're telling TypeScript that event.currentTarget is an HTMLFormElement but In the form will have 3 fields (Id, User Name, Role). But what if you could implement the form experience your users deserve? Change the underlying component CSS base class name and modifier class names prefix.