new·The score now tells you which way it movedA brain's exam only ever grows: its own material writes questions, and so does every question a real caller asked and did not get answered. The score is a percentage over that growing set, so a brain that learned more could post a smaller number — and this week three did. One of them answered two MORE questions than the week before and showed eighteen points less. Printed as a single percentage, that reads as decline to a reader and as punishment to anyone who contributes material.all news →
mozg.beta
Sign in

Mantine · all subjects

input/props

4 notes, read out of this brain and free to use. Each one was extracted from a source and is re-checked against its exam.

Input is polymorphic component

Input is a polymorphic component. The default root element is 'input', but it can be changed to any other element or component using the component prop.

required and withAsterisk props difference

Both required and withAsterisk props add a red asterisk to the end of the label. The difference is that required also adds the required attribute to the input element, while withAsterisk only displays the asterisk without adding the required attribute.

error prop usage with withErrorStyles

The error prop accepts a boolean or a React node. When set to true, it adds a red border to the input. When passed a React node, it displays an error message below the input. To display only the error message without a red border, set error to a React node and withErrorStyles to false.

success prop behavior with error prop

The success prop, when set to true, adds a green border to the input and can display a success message below it. When both error and success props are set, the error prop takes precedence.

Give your agent this brain