Skip to content

fix(picker): disabled column works with options - #28653

Merged
liamdebeasi merged 57 commits into
FW-5580from
ld/5580-disabled
Dec 6, 2023
Merged

liamdebeasi merged 57 commits into
FW-5580from
ld/5580-disabled

Conversation

@liamdebeasi

@liamdebeasi liamdebeasi commented Dec 6, 2023 •

Copy link
Copy Markdown
Contributor

Issue number: N/A


What is the current behavior?

As noted in #28622, disabled columns w/ options was not migrated to minimize the amount of code changes that needed to be reviewed at once. This would be updated in a separate PR.

What is the new behavior?

  • This PR ensures that disabling a column makes the column not scrollable and the options non-interactive

The previous approach of coupling the column disabled prop with the option disabled prop was modified as it resulted in a brittle architecture. We've opted for a solution that achieves the same goal while reducing the tight coupling. We found that the tight coupling would cause a customized disabled property value on the option to be overridden with the value of the parent column's disabled value.

Does this introduce a breaking change?

  • Yes
  • No

Other information

@github-actions github-actions Bot added the package: core @ionic/core package label Dec 6, 2023
@liamdebeasi liamdebeasi changed the title Ld/5580 disabled fix(picker): disabled column works with options Dec 6, 2023
@liamdebeasi
liamdebeasi marked this pull request as ready for review December 6, 2023 19:08
@liamdebeasi
liamdebeasi requested review from a team and averyrousseau and removed request for a team December 6, 2023 19:10

@mapsandapps mapsandapps left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

works & makes sense 👍🏻

Base automatically changed from ld/5580-keyboard-entry to FW-5580 December 6, 2023 21:33
@liamdebeasi
liamdebeasi merged commit bafc285 into FW-5580 Dec 6, 2023
@liamdebeasi
liamdebeasi deleted the ld/5580-disabled branch December 6, 2023 21:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

package: core @ionic/core package

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants