Open rsubr opened 3 years ago
I created an improved version of this Nova Field. Thanks to @NikolaySav for his work.
https://github.com/rsubr/nova-json-schema-field
The calling API is a little different, it supports HTML text, numbers, dates and selects.
@NikolaySav thanks a ton for this project.
In the edit form, all input fields are rendered as text. This makes it inconvenient for numeric fields and dates.
A single line fix to FormField.vue opens up this field to multiple HTML input types.
Original (lines 24-26):
New:
Now we can use this in the following schema:
Now the
event_name
,start_date
,duration
fields are rendered using the appropriate HTML input fields.Can you please update your code? Thanks!