From ff4cffdc9b0595216ad8e30c08a5a39ffc8875fa Mon Sep 17 00:00:00 2001 From: Zhangyu Date: Thu, 22 Aug 2024 06:49:59 +0000 Subject: [PATCH] * [task#126398] modify empty quoteQuestions quoteTitle picker dispaly of thinkradio. --- lib/zin/wg/thinkradio/v1.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/zin/wg/thinkradio/v1.php b/lib/zin/wg/thinkradio/v1.php index f487d488c4..5a345f2f1d 100644 --- a/lib/zin/wg/thinkradio/v1.php +++ b/lib/zin/wg/thinkradio/v1.php @@ -108,7 +108,9 @@ class thinkRadio extends thinkQuestion 'name' => 'options[quoteTitle]', 'placeholder' => $lang->thinkstep->placeholder->quoteTitle, 'items' => $quoteQuestions, - 'value' => $quoteTitle + 'value' => $quoteTitle, + 'disabled' => empty($quoteQuestions), + 'title' => empty($quoteQuestions) ? $lang->thinkstep->tips->quoteTitle : null )) ) ),