Formularios: noValidate en todos para usar red-response del sitio
Desactiva la validación nativa del navegador ("Rellene este campo", formato de
email) en el resto de formularios (recover, reset-password, trade-points,
rename-guild, transfer-dp, gold, promo, transfer, quest, send-gift, 2FA, restore).
Los errores se muestran como red-form-response (por validación en cliente o del
servidor), consistente con login y create-account. Botones ya gateados por campos.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -133,7 +133,7 @@ function SellForm({ characters, visible }: { characters: CharOption[]; visible:
|
||||
|
||||
return (
|
||||
<div id="trade-sell-div" style={{ display: visible ? 'block' : 'none' }}>
|
||||
<form onSubmit={handleSubmit} acceptCharset="utf-8">
|
||||
<form noValidate onSubmit={handleSubmit} acceptCharset="utf-8">
|
||||
<table className="middle-center-table">
|
||||
<tbody>
|
||||
<tr><td>{t('trade.sellPointsLabel')}</td></tr>
|
||||
@@ -240,7 +240,7 @@ function BuyForm({ characters, visible }: { characters: CharOption[]; visible: b
|
||||
|
||||
return (
|
||||
<div id="trade-buy-div" style={{ display: visible ? 'block' : 'none' }}>
|
||||
<form onSubmit={handleRedeem} acceptCharset="utf-8">
|
||||
<form noValidate onSubmit={handleRedeem} acceptCharset="utf-8">
|
||||
<table className="middle-center-table">
|
||||
<tbody>
|
||||
<tr><td>{t('trade.buyCodeLabel')}</td></tr>
|
||||
|
||||
Reference in New Issue
Block a user