nova-json-schema-field
nova-json-schema-field copied to clipboard
Support array of objects?
Blank field display when I used nova-json-schema-field
with schema Array of objects
public function fields() {
return [
NovaJsonSchemaField::make('Options', $this->optionsSchema())
->listClass('list-reset')
]
}
public function optionsSchema() {
return [
'type' => 'array',
'items' => [
'type' => 'object',
'required' => ['name'],
'properties' => [
'name' => [
'type' => 'string'
]
]
]
];
}
Any update on this? Nice field btw.