Rxova
Skip to content

PasswordWarning

Emitted when the component keeps itself functional despite a prop it cannot use as given — a negative minLength, a maxLength under the minLength, two rules sharing an id. The coerced result is what actually renders, so this is a development-only heads-up, never an error.

code: PasswordWarningCode;

message: string;

Human-readable explanation, safe to log as-is.


prop: string;

The prop that carried the offending value.


received: string;

The value as received.

Also the reason a second, different misconfiguration of the same prop is still reported: warnings are deduplicated per instance on code:received, so minLength={-1} followed by minLength={-5} warns twice rather than once. Every other package in the suite carries this field for the same reason.