Skip to content

Commit

Permalink
Add prefix and suffix text for Input and add alertOnChange for multis…
Browse files Browse the repository at this point in the history
…elect and dropdown (#13106)
  • Loading branch information
standeren authored Jul 11, 2024
1 parent e069007 commit 441dc05
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 1 deletion.
4 changes: 4 additions & 0 deletions frontend/language/src/nb.json
Original file line number Diff line number Diff line change
Expand Up @@ -2002,6 +2002,8 @@
"ux_editor.modal_properties_textResourceBindings_pagination_back_button": "Tilbakeknapp ved paginering",
"ux_editor.modal_properties_textResourceBindings_pagination_next_button": "Nesteknapp ved paginering",
"ux_editor.modal_properties_textResourceBindings_postPlaceTitle": "Tittel for poststed",
"ux_editor.modal_properties_textResourceBindings_prefix": "Prefiks",
"ux_editor.modal_properties_textResourceBindings_prefix_add": "Legg til prefiks",
"ux_editor.modal_properties_textResourceBindings_questionDescriptions": "Beskrivelser av spørsmål",
"ux_editor.modal_properties_textResourceBindings_questionDescriptions_add": "Legg til tekst for beskrivelser av spørsmål",
"ux_editor.modal_properties_textResourceBindings_questionHelpTexts": "Hjelpetekster for spørsmål",
Expand All @@ -2017,6 +2019,8 @@
"ux_editor.modal_properties_textResourceBindings_save_button_add": "'Legg til tekst for Lagre'-knapp",
"ux_editor.modal_properties_textResourceBindings_shortName": "Kortnavn",
"ux_editor.modal_properties_textResourceBindings_shortName_add": "Legg til kortnavn",
"ux_editor.modal_properties_textResourceBindings_suffix": "Suffiks",
"ux_editor.modal_properties_textResourceBindings_suffix_add": "Legg til suffiks",
"ux_editor.modal_properties_textResourceBindings_summaryAccessibleTitle": "Egendefinert aria-label for redigeringsknapp på oppsummering",
"ux_editor.modal_properties_textResourceBindings_summaryAccessibleTitle_add": "Legg til egendefinert aria-label for redigeringsknapp på oppsummering",
"ux_editor.modal_properties_textResourceBindings_summaryTitle": "Ledetekst i oppsummeringen",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -252,6 +252,12 @@
},
"required": ["simpleBinding"],
"additionalProperties": false
},
"alertOnChange": {
"title": "Alert on change",
"description": "Boolean value indicating if the component should alert on change",
"default": false,
"$ref": "expression.schema.v1.json#/definitions/boolean"
}
},
"required": ["id", "type", "dataModelBindings"],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,16 @@
"title": "Accessible summary title",
"description": "Title used for aria-label on the edit button in the summary view (overrides the default and summary title)",
"$ref": "expression.schema.v1.json#/definitions/string"
},
"prefix": {
"title": "Prefix",
"description": "Prefix shown before the input field",
"$ref": "expression.schema.v1.json#/definitions/string"
},
"suffix": {
"title": "Suffix",
"description": "Suffix shown after the input field",
"$ref": "expression.schema.v1.json#/definitions/string"
}
}
},
Expand Down Expand Up @@ -170,7 +180,6 @@
"properties": {
"currency": {
"title": "Language-sensitive currency formatting",
"type": "string",
"description": "Enables currency to be language sensitive based on selected app language. Note: parts that already exist in number property are not overridden by this prop.",
"enum": [
"AED",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -252,6 +252,12 @@
},
"required": ["simpleBinding"],
"additionalProperties": false
},
"alertOnChange": {
"title": "Alert on change",
"description": "Boolean value indicating if the component should alert on change",
"default": false,
"$ref": "expression.schema.v1.json#/definitions/boolean"
}
},
"required": ["id", "type", "dataModelBindings"],
Expand Down

0 comments on commit 441dc05

Please sign in to comment.