개구 : 계산기 추가
This commit is contained in:
parent
b76f6eb057
commit
f9f29223e4
@ -59,10 +59,10 @@ export default function DormerOffset(props) {
|
||||
name=""
|
||||
label=""
|
||||
className="input-origin block"
|
||||
value={arrow1LengthRef.current.value ?? 0}
|
||||
value={arrow1LengthRef.current?.value ?? 0}
|
||||
ref={arrow1LengthRef}
|
||||
onChange={(value) => setArrow1Length(value)}
|
||||
options={{
|
||||
onChange={() => {}} // No-op function to prevent error
|
||||
options={{
|
||||
allowNegative: false,
|
||||
allowDecimal: false,
|
||||
}}
|
||||
@ -86,7 +86,20 @@ export default function DormerOffset(props) {
|
||||
</div>
|
||||
<div className="input-move-wrap">
|
||||
<div className="input-move">
|
||||
<input type="text" className="input-origin" ref={arrow2LengthRef} placeholder="0" />
|
||||
{/*<input type="text" className="input-origin" ref={arrow2LengthRef} placeholder="0" />*/}
|
||||
<CalculatorInput
|
||||
id=""
|
||||
name=""
|
||||
label=""
|
||||
className="input-origin block"
|
||||
value={arrow2LengthRef.current?.value ?? 0}
|
||||
ref={arrow2LengthRef}
|
||||
onChange={() => {}} // No-op function to prevent error
|
||||
options={{
|
||||
allowNegative: false,
|
||||
allowDecimal: false,
|
||||
}}
|
||||
/>
|
||||
</div>
|
||||
<span>mm</span>
|
||||
<div className="direction-move-wrap">
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user