@ -210,7 +210,7 @@ class _ViewDoctorResponsesPageState extends State<ViewDoctorResponsesPage> {
child: DefaultButton(
TranslationBase.of(context).submit,
() {
if (textController.text.isEmpty) {
if (rate == 0 && textController.text.isEmpty) {
AppToast.showErrorToast(message: "Please enter comments");
} else {
rateDoctorResponse();