Problem/Motivation
There're class fields and there're attributes field as well. In order to have consistence and to be organized we need to avoid classes to be added in the attributes field since there're specific fields for that
Steps to reproduce
- Go to the blocks settings page
- Go to attributes
- Insert attribute key as "class"
- Insert any value
- Save
- Expected: The class is saved
- Result: The class should be validated in the attributes since there are class fields
Proposed resolution
Implement a validation in the Helper Service and send a message saying this
Remaining tasks
User interface changes
API changes
Data model changes
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | 3272855.patch | 907 bytes | renatog |
Comments
Comment #2
renatog commentedPatch with the validation implemented in the service
Comment #4
renatog commentedFixed and committed the validation to the dev 2.0.x branch