Skip to content

Moo/moo 2018/improve existing switch component functionality for mx10#436

Open
SrirangK wants to merge 7 commits intoversion/mx/10from
moo/moo-2018/switch-improve-mx10
Open

Moo/moo 2018/improve existing switch component functionality for mx10#436
SrirangK wants to merge 7 commits intoversion/mx/10from
moo/moo-2018/switch-improve-mx10

Conversation

@SrirangK
Copy link

Checklist

  • Contains unit tests ❌
  • Contains breaking changes ❌
  • PR title properly formatted ([XX-000]: description)? ✅
  • Works in Android ✅
  • Works in iOS ✅
  • Works in Tablet ✅

This PR contains

  • Bug fix
  • Feature
  • Refactor
  • Documentation
  • Other (describe)

What is the purpose of this PR?

Improvement in the Native Switch widget

Relevant changes

The Mendix switch shows the validation message in the view container of the switch which messes up the styling of the switch and its label.
Possibility to change the position of the switch in horizontal view from the right side of the label to the left side. The Mendix switch can only show the label to the right side or above the switch.

@SrirangK SrirangK requested a review from a team as a code owner February 23, 2026 14:55
},
"devDependencies": {
"@mendix/pluggable-widgets-tools": "~10.0.1",
"@testing-library/jest-native": "^5.4.3",
Copy link
Contributor

Choose a reason for hiding this comment

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

is there any specific reason we have added these devdependencies here locally in switch native widget as we already have this in root package.json (as other widgets are using root dependencies for the testcases) ? If this is not required could you please remove it.

Copy link
Author

Choose a reason for hiding this comment

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

removed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants