Whether this is a single question with single-select (auto-submit on pick)
(&self)
| 130 | |
| 131 | /// Whether this is a single question with single-select (auto-submit on pick) |
| 132 | fn is_single_auto_submit(&self) -> bool { |
| 133 | self.questions.len() == 1 && !self.questions[0].multi_select |
| 134 | } |
| 135 | |
| 136 | /// Whether we are on the confirm/review page (multi-question only) |
| 137 | fn on_confirm_page(&self) -> bool { |
no test coverage detected