7

Hide and show the count input as required

This commit is contained in:
Todd Dembrey
2017-10-26 11:47:28 +01:00
parent 7cf22d05f6
commit bc0b69fde5
3 changed files with 28 additions and 1 deletions

View File

@ -98,7 +98,7 @@ class Segment(ClusterableModel):
]),
FieldPanel('match_any'),
FieldPanel('type', widget=forms.RadioSelect),
FieldPanel('count'),
FieldPanel('count', classname='count_field'),
], heading="Segment"),
MultiFieldPanel([
InlinePanel(