blockly-samples icon indicating copy to clipboard operation
blockly-samples copied to clipboard

blockfactory demo add field_date block support

Open mlzboy opened this issue 1 year ago • 1 comments

Check for duplicates

  • [X] I have searched for similar issues before opening a new one.

Problem

check the current blockfactory is based on 10.2 and didn't embedded field_date support want added in blockfactory

Request

check the current blockfactory is based on 10.2 and didn't embedded field_date support want added in blockfactory

Alternatives considered

No response

Additional context

No response

mlzboy avatar Jun 19 '24 10:06 mlzboy

Hello, thanks for filing this issue!

The date field is a plugin. The block factory in core unfortunately does not support plugin fields. However, there is a new version of block factory that will be published next week, which does support adding plugin fields such as field-date. I'm moving this issue into blockly-samples (new home of developer tools). If you're interested in adding support for the field yourself, anyone can do that by opening a PR that adds the necessary block-code generators for a plugin field. Keep an eye on the forum for additional information!

maribethb avatar Jun 21 '24 17:06 maribethb