Google AppMaker中的复选框绑定 [英] Checkbox binding in Google AppMaker

查看:78
本文介绍了Google AppMaker中的复选框绑定的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何对复选框进行绑定?连同用户输入是否在这里选择其他?有人可以帮忙吗?

How to do binding for the checkbox? together with the user input if they choose other here? can anyone help?

推荐答案

最简单的实现是通过多选小部件.但是,它看起来会稍有不同:

The simplest implementation will be with Multiselect Widget. However, it will look slightly different:

模型

设计师

请注意,在values中使用了 strToArray 转换器.绑定

Note, strToArray transformer is used in the values binding

运行时

可以肯定的是,您可以根据自己的喜好通过CSS自定义Multiselect的外观和风格,或者根据选定的值等来使用输入的可见性...

For sure, you can go fancy customizing look and feel of the Multiselect with CSS or playing with input's visibility basing on selected values and so on...

这篇关于Google AppMaker中的复选框绑定的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆