Allow to mark an input as non required for a required attribute
getInputProps(attr)
returns the required
prop when the attribute is required (it knows it from the schema). It happens that a the value is not expected to be entered by the user but to be generated by a hook or by the database. In this case we wan't to be able to mark an input as not required despite of the fact that the attribute is required.