Skip to content

Commit

Permalink
Rather than having an autogenerated editor-{random_id} be the id, u…
Browse files Browse the repository at this point in the history
…se instead of the attribute value which will be the column name that the field is associated with.
  • Loading branch information
chrispelzer committed Jan 2, 2020
1 parent 902459b commit c33adb6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion dist/js/field.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions resources/js/components/FormField.vue
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
<default-field :field="field" :errors="errors" :full-width-content="true">
<template slot="field">
<vue-ckeditor
:id="field.attribute"
v-model="value"
:config="config"
/>
Expand Down

0 comments on commit c33adb6

Please sign in to comment.