Spaces:
Running
Running
Update app.py
Browse files
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")
|