BHoM / BHoM/Grasshopper_UI

Empty lists get turned into nulls on object creation

Open
#701 0 comments 0 reactions 1 assignee Claimed by @adecler View on GitHub
type:bug
Dominant language
C#
Stars
18
Forks
5
PR merge metrics
No merged PRs in 30d

Description

#### Description:

Not entirely sure if the right repo to raise an issue, but it seems to be a UI glitch to me. When creating an object using property assignment, empty list inputs get converted to `null` - in the example below we should rather get 3 valid objects and ignore 2 empty lists rather than getting 5 objects, 2 of them invalid:
![image](https://github.com/BHoM/Grasshopper_UI/assets/26874773/75b02c0a-4e50-416c-a209-7f7dd6281fac)

#### Test file(s):

On [SharePoint](https://burohappold.sharepoint.com/sites/BHoM/02_Current/Forms/AllItems.aspx?RootFolder=%2Fsites%2FBHoM%2F02%5FCurrent%2F12%5FScripts%2F01%5FIssue%2FBHoM%2FGrasshopper%5FToolkit%2F%23701%2DCreateObjectFromEmptyList&FolderCTID=0x0120008122C8891F89054B8ACED0196C70DFC4)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.