Bugfix: HTML Source was broken (could not add apps)

This commit is contained in:
Imran Remtulla
2023-09-16 15:26:35 -04:00
parent 734a548bc3
commit 298ff190ec
3 changed files with 5 additions and 2 deletions

View File

@@ -123,6 +123,9 @@ class HTML extends AppSource {
textInputType: const TextInputType.numberWithOptions(),
additionalValidators: [
(value) {
if (value?.isEmpty == true) {
value = null;
}
value ??= '1';
return intValidator(value);
}