Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 63a9722

Browse files
committed
replaced _.get() with objGet to be more inline with the rest of the code
1 parent f913ab0 commit 63a9722

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎src/formGenerator.vue‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -168,8 +168,8 @@ div.vue-form-generator(v-if='schema != null')
168168
getFieldRowClasses(field) {
169169
const hasErrors = this.fieldErrors(field).length > 0;
170170
let baseClasses = {
171-
[_.get(this.options, 'validationErrorClass', 'error')]: hasErrors,
172-
[_.get(this.options, 'validationSuccessClass', 'valid')]: !hasErrors,
171+
[objGet(this.options, 'validationErrorClass', 'error')]: hasErrors,
172+
[objGet(this.options, 'validationSuccessClass', 'valid')]: !hasErrors,
173173
disabled: this.fieldDisabled(field),
174174
readonly: this.fieldReadonly(field),
175175
featured: this.fieldFeatured(field),

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /