mirror of
https://git.meshkee.com/applications/cssd.git
synced 2026-10-13 04:38:55 +03:30
Fix some issue
This commit is contained in:
@@ -112,6 +112,12 @@ class AddLabelBox extends StatelessWidget {
|
||||
const EdgeInsets.symmetric(horizontal: 0),
|
||||
child: TextFormField(
|
||||
controller: values,
|
||||
validator: (val) {
|
||||
if (val!.isEmpty) {
|
||||
return 'Label required!';
|
||||
}
|
||||
return null;
|
||||
},
|
||||
decoration: InputDecoration(
|
||||
contentPadding: EdgeInsets.only(
|
||||
bottom: 12,
|
||||
|
||||
Reference in New Issue
Block a user