Browse Source

Update: tampilan form Kondisi Barang

master
unknown 1 year ago
parent
commit
7ca774e66e
  1. 19
      lib/pages/pengembalian_barang/create.dart

19
lib/pages/pengembalian_barang/create.dart

@ -510,15 +510,24 @@ class _CreatePengembalianBarangPageState
),
),
),
Padding(
padding: EdgeInsets.symmetric(vertical: 8.0),
child: TextField(
SizedBox(height: 16.0),
Card(
elevation: 2,
child: Padding(
padding: const EdgeInsets.all(8),
child: TextFormField(
controller: _kondisiPetiController,
decoration: InputDecoration(
labelText: 'Kondisi Barang',
border: OutlineInputBorder(
borderRadius: BorderRadius.circular(10.0),
border: OutlineInputBorder(),
),
validator: (value) {
if (value == null || value.isEmpty) {
return 'Harus diisi';
}
return null; // Return null jika tidak ada kesalahan
},
),
),
),

Loading…
Cancel
Save