Skip to content

Conversation

javiereguiluz
Copy link
Member

Q A
Bug fix? no
New feature? no
Issues -
License MIT

Note: I tried this in a Symfony app and it didn't work ... so I'm opening this PR to ask you if this should work or if addAttribute() is only for empty attributes that don't define a value.

Thanks!

@carsonbot carsonbot added the Status: Needs Review Needs to be reviewed label Feb 22, 2024
@smnandre
Copy link
Member

It only works with attributes in a toggle way .. you may want to use addClass there i think

@javiereguiluz
Copy link
Member Author

Thanks for the review. I updated the PR to show an example that won't work and explain that explicitly. Thanks.

@carsonbot carsonbot added Status: Reviewed Has been reviewed by a maintainer and removed Status: Needs Review Needs to be reviewed labels Feb 23, 2024
@weaverryan weaverryan added Status: Needs Work Additional work is needed and removed Status: Reviewed Has been reviewed by a maintainer labels Feb 27, 2024
@javiereguiluz
Copy link
Member Author

Sorry I forgot about this PR. I did all the changes that you suggested. Thanks for the reviews!

@kbond
Copy link
Member

kbond commented Feb 27, 2024

I did all the changes that you suggested.

@javiereguiluz, did you miss pushing these changes?

@carsonbot carsonbot added Status: Needs Review Needs to be reviewed and removed Status: Needs Work Additional work is needed labels Feb 28, 2024
@javiereguiluz
Copy link
Member Author

@kbond yes, sorry 😊

@carsonbot carsonbot added Status: Reviewed Has been reviewed by a maintainer and removed Status: Needs Review Needs to be reviewed labels Feb 28, 2024
@weaverryan
Copy link
Member

Thanks Javier!

@weaverryan weaverryan merged commit cd84f5a into 2.x Feb 29, 2024
@javiereguiluz javiereguiluz deleted the doc-add-attribute branch March 1, 2024 15:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Reviewed Has been reviewed by a maintainer
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants