过滤器匹配Sylius资源网格中的可能性

时间:2017-03-06 15:58:40

标签: grid symfony sylius

我创建了一个资源网格(自动生成),我希望避免具有匹配的可能性'选择显示。 根据{{​​3}},"If you don't want display to user matching possibilites, you can choose one in a configuration. Then only the value input will display" 我按照解释完成了,但我仍然有那些选择字段。 这是我的网格conf的摘录:

filters:
    customer:
        type: string
        options:
            type: contains

对于此过滤器,我仍然有选择字段。

对这个问题有什么想法吗?

Tks!

1 个答案:

答案 0 :(得分:2)

刚刚检查过它是文档中的错误。应该是:

let storyBoard: UIStoryboard = UIStoryboard(name: "Main", bundle: nil)
let newViewController = storyBoard.instantiateViewController(withIdentifier: "PaymentVC") as! PaymentViewController
self.present(newViewController, animated: true, completion: nil)
    newViewController.num_pal = num_words
    newViewController.l_origen = l_source
    newViewController.l_destino = l_target
    newViewController.espec = espec
    newViewController.user = user
    newViewController.pass = pass
    newViewController.texto = texto
    newViewController.modificado = modificado
    newViewController.texto_ant = texto_ant