Skip to content

Commit

Permalink
Update constructor and input docs
Browse files Browse the repository at this point in the history
  • Loading branch information
jtommy committed Jan 7, 2019
1 parent 5b162ee commit 404997d
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
* Add ``mobile-sort-placeholder`` prop to table
* Add ``contextmenu`` event to table (thanks @gps-dev)
* Add ``show-detail-icon`` prop to table and toggle row detail programmatically (thanks @omer2500)
* Add ``use-html5-validation`` prop to form components and ``defaultUseHtml5Validation` constructor options (thanks @lukio3)

### Fixes

Expand Down
1 change: 1 addition & 0 deletions docs/pages/components/input/Input.vue
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@

<Example :component="ExValidation" :code="ExValidationCode" title="Validation" vertical>
<p>Automatic HTML5 validation on-blur.</p>
<p>You can use <code>use-html5-validation</code> prop to disable the default HTML5 validation.</p>
</Example>

<Example :component="ExPassword" :code="ExPasswordCode" title="Password" vertical>
Expand Down
7 changes: 7 additions & 0 deletions docs/pages/installation/api/constructor-options.js
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,13 @@ export default [
type: 'Boolean',
values: '—',
default: '<code>true</code>'
},
{
name: '<code>defaultUseHtml5Validation</code>',
description: 'Default form components <code>use-html5-validation</code> attribute',
type: 'Boolean',
values: '—',
default: '<code>true</code>'
}
]
}
Expand Down

0 comments on commit 404997d

Please sign in to comment.