Repository: 4ian/GDevelop
File: newIDE/app/src/EventsBasedBehaviorEditor/EventsBasedBehaviorPropertiesEditor.js (JavaScript)

Code before:
                                          value="Boolean"
                                          label={t`Boolean (checkbox)`}
                                        />
                                        <SelectOption
                                          key="property-type-choice"
                                          value="Choice"
                                          label={t`String from a list of options (text)`}
                                        />
                                        <SelectOption
                                          key="property-type-color"
                                          value="Color"
                                          label={t`Color (text)`}
                                        />
                                        <SelectOption
                                          key="property-type-object-animation-name"
                                          value="ObjectAnimationName"
                                          label={t`Object animation (text)`}
                                        />
                                        <SelectOption
                                          key="property-type-keyboard-key"
                                          value="KeyboardKey"
                                          label={t`Keyboard key (text)`}
                                        />
                                        <SelectOption
                                          key="property-type-text-area"
                                          value="TextArea"
                                          label={t`Multiline text`}
                                        />
                                        <SelectOption
                                          key="property-type-resource"
                                          value="Resource"
                                          label={t`Resource (JavaScript only)`}
                                        />
                                        {!isSceneProperties && (
                                          <SelectOption
                                            key="property-type-behavior"
                                            value="Behavior"
                                            label={t`Required behavior`}
                                          />
                                        )}
                                      </SelectField>
                                      {property.getType() === 'Number' && (
                                        <SelectField
                                          floatingLabelText={
                                            <Trans>Measurement unit</Trans>
                                          }
                                          value={property
                                            .getMeasurementUnit()
                                            .getName()}
                                          onChange={(e, i, value: string) => {
                                            property.setMeasurementUnit(

Review comment (suggestion):
I wonder if we should call this MultilineString, because:

- "Text Area" is a UI result
- Whereas "MultilineString" is more a data type.

Code after:
                                          value="Boolean"
                                          label={t`Boolean (checkbox)`}
                                        />
                                        <SelectOption
                                          key="property-type-choice"
                                          value="Choice"
                                          label={t`String from a list of options (text)`}
                                        />
                                        <SelectOption
                                          key="property-type-color"
                                          value="Color"
                                          label={t`Color (text)`}
                                        />
                                        <SelectOption
                                          key="property-type-object-animation-name"
                                          value="ObjectAnimationName"
                                          label={t`Object animation (text)`}
                                        />
                                        <SelectOption
                                          key="property-type-keyboard-key"
                                          value="KeyboardKey"
                                          label={t`Keyboard key (text)`}
                                        />
                                        <SelectOption
                                          key="property-type-text-area"
                                          value="MultilineString"
                                          label={t`Multiline text`}
                                        />
                                        <SelectOption
                                          key="property-type-resource"
                                          value="Resource"
                                          label={t`Resource (JavaScript only)`}
                                        />
                                        {!isSceneProperties && (
                                          <SelectOption
                                            key="property-type-behavior"
                                            value="Behavior"
                                            label={t`Required behavior`}
                                          />
                                        )}
                                      </SelectField>
                                      {property.getType() === 'Number' && (
                                        <SelectField
                                          floatingLabelText={
                                            <Trans>Measurement unit</Trans>
                                          }
                                          value={property
                                            .getMeasurementUnit()
                                            .getName()}
                                          onChange={(e, i, value: string) => {
                                            property.setMeasurementUnit(