Bug 37893: (QA follow-up): Add maxlength to number attributes. Set '3' for SIP2 institutions retires

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
This commit is contained in:
Pedro Amorim 2025-11-04 13:28:19 -01:00 committed by Lucas Gass
parent 5e76fb103a
commit 3e4fc7db7e
No known key found for this signature in database
GPG Key ID: 60B447398B0D36CA
3 changed files with 4 additions and 0 deletions

View File

@ -6,6 +6,7 @@
:placeholder="placeholder"
:required="required"
:size="size"
:maxlength="maxlength"
/>
</template>
@ -18,6 +19,7 @@ export default {
placeholder: String,
required: Boolean,
size: Number | null,
maxlength: Number | null,
},
emits: ["update:modelValue"],
setup(props, { emit }) {

View File

@ -13,6 +13,7 @@
:placeholder="attr.placeholder || attr.label"
:required="attr.required ? true : false"
:size="attr.size"
:maxlength="attr.maxlength"
:disabled="disabled"
@update:modelValue="checkForInputError()"
/>

View File

@ -125,6 +125,7 @@ export default {
toolTip: __(
"Number of times the system will attempt to connect"
),
maxlength: 3,
},
{
name: "status_update",