address_input_restrict

This commit is contained in:
venbaittech 2025-10-30 16:31:33 +05:30
parent 220e7c4c9e
commit 85fd7c0b47
4 changed files with 13 additions and 1 deletions

View File

@ -1725,6 +1725,11 @@ class PersonalDetailsState extends State<PersonalDetails> {
enabled: !widget.isViewMode,
maxLines: 2,
keyboardType: TextInputType.multiline,
inputFormatters: [
FilteringTextInputFormatter.allow(
RegExp(r"[a-zA-Z0-9\s,.\-/#']"),
),
],
decoration: InputDecoration(
labelText: "Address",
labelStyle: GoogleFonts.poppins(

View File

@ -1970,6 +1970,11 @@ class PersonalDetailsState extends State<PersonalDetails> {
style: GoogleFonts.poppins(fontSize: 12, color: Colors.black),
focusNode: _addressFocusNode,
controller: widget.controllers["address"],
inputFormatters: [
FilteringTextInputFormatter.allow(
RegExp(r"[a-zA-Z0-9\s,.\-/#']"),
),
],
enabled: !widget.isViewMode,
maxLines: 2,
keyboardType: TextInputType.multiline,

View File

@ -3982,7 +3982,7 @@ class TravellerDetailsState extends State<TravellerDetails> {
mainAxisAlignment: MainAxisAlignment.spaceBetween,
children: [
Text(
" * confirm your passport is valid for next 6 months",
" * Confirm your passport is valid for next 6 months ",
style: GoogleFonts.poppins(fontSize: 10),
),
IconForVisa(),

View File

@ -1,5 +1,7 @@
//api url
//---- NOTE : RELEASE 29 OCT 2025 - Except AUJAS LIVE EVERYTHING MOVED ---
/** Note : TSTAT TEST BE URL
* incase "adfactor" or "aujas" href means changed to "tstat"
* File : web/index.html - change below