evita que se pueda enviar info sin numero

This commit is contained in:
Felipe
2023-07-31 15:04:35 -05:00
parent 5b6fe18686
commit 39b49fea15
5 changed files with 60 additions and 13 deletions
+2 -3
View File
@@ -443,11 +443,10 @@ class _ProfileWebScreenState extends State<ProfileWebScreen> {
List<City> filteredCities = snapshot.data!;
return DropdownButtonFormField<String>(
value: _ciudad, // Valor seleccionado actualmente
value: _ciudad,
onChanged: (String? newValue) {
setState(() {
_ciudad =
newValue!; // Actualizar el valor seleccionado
_ciudad = newValue!;
});
},
items: filteredCities.map((City city) {