emvecchi commited on
Commit
e2055cc
1 Parent(s): 59cabea

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -347,9 +347,9 @@ def show_field(f: Field, index: int, data_collected):
347
  key=key,
348
  index=value, help=f.help, horizontal=True)
349
  case 'text':
350
- st.text_input(f.title, key=key, value=value)
351
  case 'textarea':
352
- st.text_area(f.title, key=key, value=value)
353
 
354
  if validation_error:
355
  st.error(f"Mandatory field")
 
347
  key=key,
348
  index=value, help=f.help, horizontal=True)
349
  case 'text':
350
+ st.text_input(f.title, key=key, value=value, max_chars=None)
351
  case 'textarea':
352
+ st.text_area(f.title, key=key, value=value, max_chars=None)
353
 
354
  if validation_error:
355
  st.error(f"Mandatory field")