ppm checklist fix

main_design2.0
Sikander Saleem 2 years ago
parent 0324c5a7ef
commit 7132e64bcf

@ -57,15 +57,17 @@ class _PentryPMChecklistFormState extends State<PentryPMChecklistForm> {
initialValue: list[index].taskStatusId == null ? null : Lookup(id: list[index].taskStatusId, name: list[index].taskStatusName),
title: context.translation.status,
onSelect: (value) {
list[index].taskStatusId = value.id;
list[index].taskStatusName = value.name;
if(value!=null) {
list[index].taskStatusId = value.id;
list[index].taskStatusName = value.name;
}
},
),
if (showLabel.isNotEmpty && showLabel.contains(index)) 8.height,
AppTextFormField(
labelText: context.translation.measuredValue,
initialValue: list[index].measuredValue,
enable: false,
// enable: false,
backgroundColor: context.isDark ? AppColor.neutral20 : null,
// backgroundColor: context.isDark ? AppColor.neutral50 : null,
// onChange: (text) {
@ -76,7 +78,7 @@ class _PentryPMChecklistFormState extends State<PentryPMChecklistForm> {
AppTextFormField(
labelText: context.translation.comment,
initialValue: list[index].taskComment,
enable: false,
// enable: false,
backgroundColor: context.isDark ? AppColor.neutral20 : null,
// backgroundColor: context.isDark ? AppColor.neutral50 : null,
// onChange: (text) {

Loading…
Cancel
Save