Update FormConstituenta.tsx

This commit is contained in:
IRBorisov 2024-03-10 21:50:26 +03:00
parent 644619b253
commit e2a20ab91d

View File

@ -177,7 +177,7 @@ function FormConstituenta({
placeholder='Договоренность об интерпретации или пояснение' placeholder='Договоренность об интерпретации или пояснение'
value={convention} value={convention}
disabled={!isMutable} disabled={!isMutable}
rows={2 * convention.length > ROW_SIZE_IN_CHARACTERS ? 3 : 2} rows={convention.length > 2 * ROW_SIZE_IN_CHARACTERS ? 3 : 2}
onChange={event => setConvention(event.target.value)} onChange={event => setConvention(event.target.value)}
/> />
{isMutable || processing ? ( {isMutable || processing ? (