Skip to content

Commit

Permalink
gallery fix
Browse files Browse the repository at this point in the history
  • Loading branch information
VitorVieiraZ committed Jun 28, 2024
1 parent 68c0d1a commit d84fc78
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/qml/form/MMFormPage.qml
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@ Page {
property var fieldConfig: model.EditorWidgetConfig

property bool fieldFormIsReadOnly: root.state === "readOnly"
property bool fieldIsEditable: AttributeEditable //
property bool fieldIsEditable: AttributeEditable

property bool fieldShouldShowTitle: model.ShowName

Expand Down
3 changes: 2 additions & 1 deletion gallery/qml/components/EditorItem.qml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ Item {
property string fieldValue: ""
property var fieldConfig: ({UseHtml: true})
property bool fieldShouldShowTitle: checkboxTitle.checked
property bool fieldIsReadOnly: !checkbox.checked
property bool fieldFormIsReadOnly: !checkbox.checked
property bool fieldIsEditable: checkboxEditable.checked
property string fieldErrorMessage: checkboxError.checked ? "error" : ""
property string fieldWarningMessage: checkboxWarning.checked ? "warning" : ""
property bool fieldRememberValueSupported: checkboxRemember.checked
Expand Down
6 changes: 6 additions & 0 deletions gallery/qml/pages/EditorsPage.qml
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,12 @@ ScrollView {
checked: false
}

MMCheckBox {
id: checkboxEditable
text: checked ? "attribute editable: yes" : "attribute editable: no"
checked: true
}

GalleryComponents.EditorItem {
width: parent.width
height: relationEditor.height
Expand Down

1 comment on commit d84fc78

@inputapp-bot
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

iOS - version 24.6.638311 just submitted!

Please sign in to comment.