Spaces:
Running

styhero commited on
Commit
0c8d63a
Β·
verified Β·
1 Parent(s): d292829

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -2
app.py CHANGED
@@ -416,8 +416,13 @@ st.markdown("""
416
  # ── Search form ─────────────────────────────────────────────────────────────────
417
 
418
  with st.form("search_form"):
419
- number = st.text_input("", placeholder="Enter mobile number β€” e.g. 919876543210",
420
- label_visibility="collapsed")
 
 
 
 
 
421
  submitted = st.form_submit_button("Search", use_container_width=True, type="primary")
422
 
423
  if not submitted or not number.strip():
 
416
  # ── Search form ─────────────────────────────────────────────────────────────────
417
 
418
  with st.form("search_form"):
419
+ number = st.number_input("",
420
+ placeholder="Enter mobile number β€” e.g. 919876543210",
421
+ label_visibility="collapsed",
422
+ step=1,
423
+ format="%d",
424
+ value=None
425
+ )
426
  submitted = st.form_submit_button("Search", use_container_width=True, type="primary")
427
 
428
  if not submitted or not number.strip():