Support Truthtrance in Richese Silent bidding
This commit is contained in:
1 parent
090d764f6f
commit
3061dc5004
18 files changed
+442
-50
No files matched your search
@@ -12,10 +12,12 @@ export function RicheseBidPromiseFields(props: {
|
||||
minimum: number;
|
||||
onMinimum: (value: number) => void;
|
||||
disabled: boolean;
|
||||
method?: 'onceAround' | 'silent';
|
||||
}) {
|
||||
const silent = props.method === 'silent';
|
||||
const error = richeseBidMinimumError(props.minimum);
|
||||
return <fieldset className="grid gap-2" disabled={props.disabled} aria-label="Richese Once Around bid condition">
|
||||
<legend>Bid in this Once Around auction</legend>
|
||||
return <fieldset className="grid gap-2" disabled={props.disabled} aria-label={`Richese ${silent ? 'Silent' : 'Once Around'} bid condition`}>
|
||||
<legend>Bid in this {silent ? 'Silent' : 'Once Around'} auction</legend>
|
||||
<label htmlFor="truth-richese-bid-minimum">Minimum bid in spice</label>
|
||||
<Input id="truth-richese-bid-minimum" type="number" min={1} max={Number.MAX_SAFE_INTEGER} step={1} required
|
||||
disabled={props.disabled} value={Number.isFinite(props.minimum) ? props.minimum : ''}
|
||||
@@ -26,9 +28,10 @@ export function RicheseBidPromiseFields(props: {
|
||||
}} />
|
||||
{error && <p role="alert">{error}</p>}
|
||||
<p className="fine" id="truth-richese-bid-help">
|
||||
This asks about the bidder’s remaining opportunity in this Once Around lot.
|
||||
Earlier declarations do not count; a qualifying bid does not promise a win
|
||||
or change the winning payment.
|
||||
{silent
|
||||
? 'This asks about the bidder’s unsubmitted sealed bid in this Silent lot. A zero submission is permitted when compatible with the answer; submitted amounts remain private until bids are revealed.'
|
||||
: 'This asks about the bidder’s remaining opportunity in this Once Around lot. Earlier declarations do not count.'}
|
||||
{' '}A qualifying bid does not promise a win or change the winning payment.
|
||||
</p>
|
||||
</fieldset>;
|
||||
}
|
||||
Reference in new issue
Block a user