[SSE] Correct RangeLink

This commit is contained in:
ShimaginAndrey 2021-10-18 18:27:44 +03:00
parent 535c20743d
commit dfc0b39836

View file

@ -107,7 +107,7 @@ const EditLink = props => {
}; };
const valueRange = linkInfo.asc_getRange(); const valueRange = linkInfo.asc_getRange();
const [range, setRange] = useState(valueRange || ''); const [range, setRange] = useState(valueRange || 'A1');
return ( return (
<Fragment> <Fragment>
@ -138,7 +138,7 @@ const EditLink = props => {
placeholder={_t.textRequired} placeholder={_t.textRequired}
value={range} value={range}
onChange={(event) => {setRange(event.target.value)}} onChange={(event) => {setRange(event.target.value)}}
className={[isIos ? 'list-input-right' : '', linkSheet === '' && 'disabled'].join(' ')} className={[isIos ? 'list-input-right' : '', curSheet === '' && 'disabled'].join(' ')}
/> />
} }
<ListInput label={_t.textDisplay} <ListInput label={_t.textDisplay}