Repository navigation
feat(segment, segment-button): update segment value property to accept numbers - #27222
Conversation
|
|
|
So interesting feature. It will be good if they merge it. |
|
Thanks for the request and PR! I think this would be a good feature to add to Ionic. The next step for us is to create a design document of how the feature will work/be implemented. This design process allows us to a) discuss the feature so there is consensus and b) ensure that the API is well designed. I have created the design document internally, and the team will be looking at it soon. If the design document gets approved, then someone will review your PR and potentially request changes. Let me know if you have questions. |
liamdebeasi
left a comment
There was a problem hiding this comment.
The team has completed our design document, so we are looking to move forward with this PR. I left a requested change below.
One other thing is since this is a feature, we'll need to merge into the feature-7.1 branch instead of main. Let me know if you have any questions!
averyrousseau
left a comment
There was a problem hiding this comment.
LGTM, this just needs to be merged into the feature-7.1 branch instead of main as previously mentioned 👀
|
Ok - updated the target branch to |
eed9015 to
eafc408
Compare
|
Rebased the branch against |
|
Merged, thanks again! |
Issue number: resolves #27221
What is the current behavior?
The value property of the segment component in Ionic Framework currently only accepts string values.
What is the new behavior?
This pull request updates the "value" property of the segment component to accept a union of string and number types. This allows for more versatile data input in the segment component, particularly for users who work with numerical data.
Does this introduce a breaking change?
Other information
N/A