Bartholomew

Results 8 comments of Bartholomew

@selaux could you please edit your config file like so: ``` fields: - name: some-metadata-property widget: object fields: - name: property-specific-string widget: string required: false

@selaux @maxgardner technically the widget option `required` doesn't work on `object` and `list` widgets but on the actual input field widgets.

> Is this intended or does it have historical reasons? I think it makes sense this way cause there is a widget option `pattern` that works with the `required` option...

>Looks like the field will be hidden when the condition is met and not shown only when the condition is met. Am I correct? The field will be hidden when...

> With hide notation each time someone adds a select option it will require editing all other fields or the condition will break right? > With show notation you'd only...

``` add_filter( sprintf( 'gform_field_validation_%s', $this->_args['form_id'] ), array( $this, 'validate' ), 10, 4 ); add_filter( sprintf( 'gform_field_validation_%s', $this->_args['form_id'] ), array( $this, 'validate_field_input' ), 11, 4 ); ``` @claygriffiths The first filter...

@TatisLois If you are still up for this, I can guide you on how to implement a simple fix for this issue.

@TatisLois take a look at the [createEmptyDraftData](https://github.com/netlify/netlify-cms/blob/master/packages/netlify-cms-core/src/actions/entries.js#L378) function, just check for `boolean` widgets that does not have any default value and assign a `false` value, that's it. Also add some...