-
-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ChoiceField : Widget height and renderAsBadges function not working #5011
Comments
|
@javiereguiluz Okay for renderAsBadges() function. There is no documentation available for this field but I think it is just a question of time ;) The css class that does not work properly seems to be "form-select" apply to "select" element. Sure, I will open a PR now |
@javiereguiluz Sorry, I cannot open a PR, the "Createa Pull Request" button is disabled... |
@fdiedler Where is this button? Did you already create a "fork" and commit your changes? Normally everybody has the permissions to create a PR. |
@michaelKaefer I go in the "Pull requests" section then "New pull request". And I was not able to create a PR because the button is disabled. I don't know why I need to fork something, on others repositories, I just need to "Create a PR", describe the bug or feature and then submit. |
@fdiedler Ok, for me this is also disabled. But sorry, I can't help you, I never used this button. Do you think there is a problem spcifically to this repo? Or can you edit the file in your browser by opening the file in GitHub and then click on the edit icon on the top right? I think then you can submit a PR quite sure. - Or the best way in my opinion is to create a fork and develop on my computer. |
@michaelKaefer It is the first time that I cannot use this button for creating a PR, so I think it is a problem of rights. I don't know how to fix this bug, I just report that I think the css class that does not work properly is "form-select" apply to "select" element. |
In the past we've limited contributions temporarily (https://easycorp.github.io/blog//posts/a-month-without-contributions) but I haven't activated anything like that, so I don't know how can't you create a PR 😐 |
@javiereguiluz @michaelKaefer I found a trick to enable the "Pull request" button but I don't know if it is good because I selected the 3.x branch like shown in this picture Can I fill the form and submit the PR ? |
Hm, somehow it looks like that would create a PR to merge the branch What do you want to do? Do you want to change the code of a file of EasyAdmin? |
@michaelKaefer No, I don't want to change a file nor code something, I don't have competences to modify EA bundle. |
@fdiedler I never heard of this procedure and I don't know if it is possible in EA. Anyway, if you don't want to change the source code there is no sense in opening a PR in my opinion, because PRs are for code changes. It is enough that you created this issue as far as I know :) |
@michaelKaefer Okay, that is what I thought. |
Then let's hope somebody will fix it :) |
Describe the bug
Using the ChoiceField with multiple choices render as a native widget, there is a bug with the height of the widget.
We only see the first choice like in this picture
The code
Furthermore, the renderAsBadges() seems not to work. Nothing happens whatever I use as parameter.
To Reproduce
Just create a simple Crud controller with a ChoiceField with multiple choices. I use the EA v4.0.3 release.
Thanks,
The text was updated successfully, but these errors were encountered: