anchor.diff:    Future<void> _setRetracted() async {
       final version =
           materialDropdownSelected(_retractPackageVersionInput)?.trim() ?? '';
  +    if (version.isEmpty) {
  +      await _validateVersionSelection();
  +      return;
  +    }
  +
       await rpc<void>(
         confirmQuestion: markdown(
             'Are you sure you want to retract the package version `$version`?'),
  
positive.code:       },
        successMessage: text('Restoring complete. The page will reload.'),
        onSuccess: (_) => window.location.reload(),
      );
    }
  
  
negative.code:     final version =
          materialDropdownSelected(_restoreRetractPackageVersionInput)?.trim() ??
              '';
      if (version.isEmpty) {
        await _validateVersionSelection();
        return;
      }
  
      await rpc<void>(
        confirmQuestion: markdown(
            'Are you sure you want to restore package version `$version`?'),
  