19 Commits

Author SHA1 Message Date
a38208f5cf fix sf4 deprecated: remove choices_as_values form option 2020-07-22 17:05:24 +02:00
122e54eed6 fix errors in editing custom field group 2018-05-17 21:09:46 +02:00
nobohan
00bbbd32d6 fix deprecations: use fqcn 2018-04-13 17:25:05 +02:00
nobohan
3e9690f47e fix deprecations: use fqcn for textarea 2018-04-04 18:42:56 +02:00
nobohan
23dd4ec48b fix deprecations: use choices_as_values=true and flip content of the choice options 2018-04-04 17:50:23 +02:00
nobohan
b84ee91652 fix deprecations: use fqcn instead of 'choices' 2018-04-04 15:55:45 +02:00
60dc11caed translation in choices name 2015-12-17 22:12:50 +01:00
fe73a64e9d Add possibility to hide empty value in customfield group view rendering
A new parameter is defined :

```
chill_custom_fields:
    show_empty_values_in_views = true|false
```

A new method is added to CustomFieldInterface: `isEmptyValue`. To ease
the dev of new classes, an AbstractCustomField class is created, which
implements the most commons function (currently, only isEmptyValue).

A new Twig Filter is added: `chill_custom_field_is_empty`

The twig filter `chill_custom_fields_group_widget` has a new possibility
in array option : `show_empty`. Default to
chill_custom_fields.show_empty_values_in_view. May be forced by
true/false.
2015-12-15 11:11:36 +01:00
bf99b68a2a Improve rendering of options and fields 2015-11-27 13:37:07 +01:00
Marc Ducobu
b40a1595c1 export raw string (no html conversion) and replace " by "" - refs #401 2015-02-18 12:41:57 +01:00
Marc Ducobu
47a9a29236 allowing csv rendering for custom fields 2015-02-17 15:01:12 +01:00
Marc Ducobu
67f434ef85 refactoring CustomFieldText var MultipleCFInline -> multipleCFInline 2014-11-19 15:34:16 +01:00
Marc Ducobu
d2a78ce852 all more than one CF in one line close #322 2014-11-18 14:18:13 +01:00
Marc Ducobu
43d863ef88 Using TranslatableStringHelper inside CustomFieldChoice, CustomFieldText & CustomFieldTitle 2014-11-17 12:10:14 +01:00
37375ec357 set required to false refs #301 2014-11-13 18:14:38 +01:00
28862bbdb9 create visualisation service rers #268 2014-11-10 12:15:32 +01:00
7daa1a240e add testing for customfield, correcting request injection 2014-11-08 15:07:15 +01:00
99a88e8705 add customfield text + fix options in custom fields 2014-11-08 11:55:59 +01:00
8011746b26 move bundle to root dir for inclusion in packagist refs #259 2014-11-04 17:10:59 +01:00