我可以从字符串包含中获取字符串吗?当我在包含字符串中输入"asdsahello1“how to get string on list only "hello1”时。
public class FindContainsText : MonoBehaviour
{
private string[] test = { "hello1", "hello2" };
public Inputfield inputText;
void Update()
{
foreach (string x in test)
{
if(inputT
当我点击submit按钮时,我想显示一个弹出窗口,其中包含一些inputText字段的requiredMessages。但只是在有这些消息的情况下。我尝试过在oncomplete标记上使用bean变量和javascript,但是我不能让它正常工作。如果我在p:dialog中设置visible="true“,弹出窗口总是会显示,尽管我试图从commandButton控制它。现在,我有了这个,但弹出窗口永远不会显示:
<h:inputText id="Scheme"
required="true"
re