Skip to content

Commit

Permalink
Update JsExtension.js
Browse files Browse the repository at this point in the history
  • Loading branch information
NeylMahfouf2608 authored Jan 20, 2025
1 parent 26c09f8 commit 8e9b935
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Extensions/TextInput/JsExtension.js
Original file line number Diff line number Diff line change
Expand Up @@ -218,19 +218,19 @@ module.exports = {

objectProperties
.getOrCreate('maxLength')
.setValue(objectContent.maxLength || 20)
.setValue(objectContent.maxLength || 40)
.setType('number')
.setLabel(_('Max length'))
.setLabel(_('Input value max length'))
.setGroup(_('Border appearance'));

objectProperties
.getOrCreate('textAlign')
.setValue(objectContent.textAlign || 'left')
.setType('choice')
.addExtraInfo('left')
.addExtraInfo('right')
.addExtraInfo('center')
.setLabel(_('text Alignement'))
.addExtraInfo('right')
.setLabel(_('Text alignement'))
.setGroup(_('Border appearance'));

return objectProperties;
Expand Down

0 comments on commit 8e9b935

Please sign in to comment.