What I did was add a 0 option to select, and the fire a js event with modal, using $.web2py.component works with a small issue, the first time it fires opens and closes a new tab.
I will try to share it tonight, maybe someone else could find it useful. El 10 nov. 2016 4:26 AM, "黄祥" <steve.van.chris...@gmail.com> escribió: i think you can use comment for that, n modify the css class to your own css (assuming you have your own css) e.g. db.test.user.comment = A(_class="glyphicon glyphicon-plus-sign", **{"_data-toggle":"modal", "_data-target":"#modal_auth_user"} ) if has_membership_admin else None best regards, stifan -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.