Skip to content

Commit

Permalink
fix(pagination): specify page-input-disabled property as boolean
Browse files Browse the repository at this point in the history
  • Loading branch information
m4olivei committed Jan 17, 2024
1 parent f917719 commit 0d9484f
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* @license
*
* Copyright IBM Corp. 2019, 2023
* Copyright IBM Corp. 2019, 2024
*
* This source code is licensed under the Apache-2.0 license found in the
* LICENSE file in the root directory of this source tree.
Expand Down Expand Up @@ -216,8 +216,8 @@ class CDSPagination extends FocusMixin(HostListenerMixin(LitElement)) {
/**
* true if the select box to change the page should be disabled.
*/
@property({ attribute: 'page-input-disabled' })
pageInputDisabled;
@property({ type: Boolean, attribute: 'page-input-disabled' })
pageInputDisabled = false;

/**
* Number of items per page.
Expand Down

0 comments on commit 0d9484f

Please sign in to comment.