Skip to content

Commit

Permalink
Merge branch 'next' into index-fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
josechirivella authored Dec 13, 2023
2 parents 23e0b1a + 230ad46 commit 01ea138
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 12 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@processmaker/vue-form-elements",
"version": "0.49.4",
"version": "0.49.5",
"description": "Reusable VueJS Based Form Elements styled with Bootstrap 4",
"scripts": {
"serve": "NODE_ENV=standalone vue-cli-service serve",
Expand Down
20 changes: 11 additions & 9 deletions src/components/FormDatePicker.vue
Original file line number Diff line number Diff line change
Expand Up @@ -114,15 +114,6 @@ export default {
return {
validatorErrors: [],
date: "",
inputAttributes: {
class: `${this.inputClass}`,
placeholder: this.placeholder,
name: this.name,
"aria-label": this.ariaLabel,
"tab-index": this.tabIndex,
disabled: this.disabled,
readonly: this.isReadOnly
},
onChangeDate: ""
};
},
Expand All @@ -138,6 +129,17 @@ export default {
isDateDisabled: this.checkMinMaxDateDisabled
};
},
inputAttributes() {
return {
class: `${this.inputClass}`,
placeholder: this.placeholder,
name: this.name,
"aria-label": this.ariaLabel,
"tab-index": this.tabIndex,
disabled: this.disabled,
readonly: this.isReadOnly
};
},
datepicker() {
return this.dataFormat === "datetime";
},
Expand Down

0 comments on commit 01ea138

Please sign in to comment.