neos / form-fusionrenderer

Flow Form Framework preset for Fusion based Form rendering
MIT License
8 stars 16 forks source link

Exception while rendering a select element #5

Closed DrillSergeant closed 7 years ago

DrillSergeant commented 7 years ago

Steps to recreate:

  1. Create a nodebased form
  2. select the fusion preset in the property inspector.
  3. Add a node of type Neos.Form.Builder:SingleSelectDropdown
  4. Add a option subnode

Exception Thrown: Argument 3 passed to Neos\Form\FusionRenderer\Fusion\SelectOptionsImplementation_Original::translate() must be of the type string, null given, called in /srv/www/hpluspeter/httpdocs/Data/Temporary/Development/Cache/Code/Flow_Object_Classes/Neos_Form_FusionRenderer_Fusion_SelectOptionsImplementation.php on line 36

image

DrillSergeant commented 7 years ago

I investigated some more and found that the properties of the option-nodes are empty in the database. image This makes sense as I did not have the chance to input something because the exception appears right after adding the option-node. I edited the nodedata myself on db level: { "value": "a value", "label": "a label" } And afterwards the select gets rendered without errors.