Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Add multi decimal to alpha value for CssColor validator #44966

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

Closed
tilimac opened this issue Jan 10, 2022 · 0 comments
Closed

Add multi decimal to alpha value for CssColor validator #44966

tilimac opened this issue Jan 10, 2022 · 0 comments

Comments

@tilimac
Copy link

tilimac commented Jan 10, 2022

Description

In a multiple colorpicker, we can add a rgba with a double decimal for alpha value. In this actual version, it's limited with a single decimal.

Example

An example with actual regex :
Good : rgba(192, 53, 53, 0.2)
Bad : rgba(192, 53, 53, 0.22)

fabpot added a commit that referenced this issue Feb 25, 2022
…(tilimac)

This PR was squashed before being merged into the 5.4 branch.

Discussion
----------

[Validator] Multi decimal to alpha for CssColor validator

| Q             | A
| ------------- | ---
| Branch?       | 5.4
| Bug fix?      | yes
| New feature?  | no
| Deprecations? | no
| Tickets       | Fix #44966
| License       | MIT
| Doc PR        | symfony/symfony-docs#... <!-- required for new features -->

Add multi decimal to alpha value (rgba and hsla) for CssColor validator

Commits
-------

b6e8cf7 [Validator] Multi decimal to alpha for CssColor validator
@fabpot fabpot closed this as completed Feb 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants