2017-03-06 8 views
0

리소스 그리드 (자동 생성)를 만들었으며 '일치하는 가능성'선택 항목이 표시되지 않도록하고 싶습니다. Sylius filters doc에 따르면 "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의 추출물 :Sylius에서 리소스 검색 유형을 검색 할 수 있습니다.

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

이 필터에, 난 여전히 선택 필드가 있습니다.

문제에 대한 아이디어가 있으십니까?

Tks!

답변

2

문서의 버그 인 것으로 확인되었습니다. 다음과 같아야합니다 :

filters: 
    customer: 
     type: string 
     form_options: 
      type: contains 
+0

Tks CoderMaggie! – wyllyjon

+0

'form_options'을 추가하면 텍스트 필드의 레이블이 느슨해집니다. 어떤 아이디어가 왜, 어떻게 되 찾을 수 있습니까? – wyllyjon