ref={pitchRef}
This commit is contained in:
parent
34871397ee
commit
5bb49097ef
@ -219,7 +219,6 @@ export default function ContextRoofAllocationSetting(props) {
|
|||||||
name=""
|
name=""
|
||||||
label=""
|
label=""
|
||||||
className="input-origin block"
|
className="input-origin block"
|
||||||
ref={pitchRef}
|
|
||||||
value={currentAngleType === 'slope' ? (roof.pitch ?? '') : (roof.angle ?? '')}
|
value={currentAngleType === 'slope' ? (roof.pitch ?? '') : (roof.angle ?? '')}
|
||||||
onChange={(value) => {
|
onChange={(value) => {
|
||||||
handleChangePitch(value, index)
|
handleChangePitch(value, index)
|
||||||
|
|||||||
@ -220,7 +220,6 @@ export default function RoofAllocationSetting(props) {
|
|||||||
name=""
|
name=""
|
||||||
label=""
|
label=""
|
||||||
className="input-origin block"
|
className="input-origin block"
|
||||||
ref={pitchRef}
|
|
||||||
value={currentAngleType === 'slope' ? (roof.pitch ?? '') : (roof.angle ?? '')}
|
value={currentAngleType === 'slope' ? (roof.pitch ?? '') : (roof.angle ?? '')}
|
||||||
onChange={(value) => {
|
onChange={(value) => {
|
||||||
handleChangePitch(value, index)
|
handleChangePitch(value, index)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user