Feature request: programmatically set the field
Closed this issue · 1 comments
GautierDele commented
Hello there,
It could be a great feature to add the programmatic setting.
In laravel nova when you emit this event:
Nova.$emit('my-field-value', '20-06-1998')
The field is automatically being set. Would it be possible to implement such a feature ?
Thanks,
Gautier
GautierDele commented
This should be as simple as adding this to the form field:
mounted() {
Nova.$on(this.field.attribute + '-value', value => {
this.value = value
})
},
Couldn't install the project because of some missing package, might be easier on your side