diff --git a/poetry.lock b/poetry.lock index 772e51bc..cb606b1c 100644 --- a/poetry.lock +++ b/poetry.lock @@ -3419,6 +3419,7 @@ files = [ {file = "PyYAML-6.0.1-cp311-cp311-win_amd64.whl", hash = "sha256:bf07ee2fef7014951eeb99f56f39c9bb4af143d8aa3c21b1677805985307da34"}, {file = "PyYAML-6.0.1-cp312-cp312-macosx_10_9_x86_64.whl", hash = "sha256:855fb52b0dc35af121542a76b9a84f8d1cd886ea97c84703eaa6d88e37a2ad28"}, {file = "PyYAML-6.0.1-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:40df9b996c2b73138957fe23a16a4f0ba614f4c0efce1e9406a184b6d07fa3a9"}, + {file = "PyYAML-6.0.1-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:a08c6f0fe150303c1c6b71ebcd7213c2858041a7e01975da3a99aed1e7a378ef"}, {file = "PyYAML-6.0.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:6c22bec3fbe2524cde73d7ada88f6566758a8f7227bfbf93a408a9d86bcc12a0"}, {file = "PyYAML-6.0.1-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:8d4e9c88387b0f5c7d5f281e55304de64cf7f9c0021a3525bd3b1c542da3b0e4"}, {file = "PyYAML-6.0.1-cp312-cp312-win32.whl", hash = "sha256:d483d2cdf104e7c9fa60c544d92981f12ad66a457afae824d146093b8c294c54"}, @@ -4674,4 +4675,4 @@ testing = ["big-O", "jaraco.functools", "jaraco.itertools", "more-itertools", "p [metadata] lock-version = "2.0" python-versions = ">=3.10,<4.0" -content-hash = "713694ade4a05085744e77aa840336b010bfcc5ad30944fd5474945cd7596ef4" +content-hash = "d56e91a3aeb64fc0a38969bbc88c8e532ddca4f6344050f1d13662898456c78c" diff --git a/pyproject.toml b/pyproject.toml index 153b1537..c6a8c3b1 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -40,7 +40,7 @@ beautifulsoup4 = ">=4.12.3" cloudpathlib = { extras = ["gs"], version = ">=0.17.0" } pyjwt = ">=2.8.0" ssb-klass-python = ">=0.0.9" -ssb-dash-components = ">=0.5.2" +ssb-dash-components = "0.6.0" [tool.poetry.group.dev.dependencies] mypy = ">=0.950" diff --git a/src/datadoc/frontend/components/alerts.py b/src/datadoc/frontend/components/alerts.py index cbd2de2a..ae8b4a4a 100644 --- a/src/datadoc/frontend/components/alerts.py +++ b/src/datadoc/frontend/components/alerts.py @@ -44,7 +44,7 @@ naming_convention_warning = build_ssb_alert( AlertTypes.WARNING, "opened-dataset_warning", - "Filen følger ikke navnestandard. Vennlist se", + "Filen følger ikke navnestandard. Vennligst se", "opened-dataset-warning-explanation", link=get_dapla_manual_naming_standard_url(), ) diff --git a/src/datadoc/frontend/fields/display_base.py b/src/datadoc/frontend/fields/display_base.py index 693df847..a600c1fa 100644 --- a/src/datadoc/frontend/fields/display_base.py +++ b/src/datadoc/frontend/fields/display_base.py @@ -150,7 +150,7 @@ def render( id=component_id, debounce=True, type=self.type, - disabled=not self.editable, + readOnly=not self.editable, value=value, className="input-component", )