Skip to content
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

[TESTS] Enhance PowerGrid Fields tests #1521

Merged

Conversation

dansysanalyst
Copy link
Member

⚡ PowerGrid - Pull Request

Welcome and thank you for your interest in contributing to our project!. You must use this template to submit a Pull Request or it will not be accepted.


Motivation

  • Bug fix
  • Enhancement
  • New feature
  • Breaking change

Description

This Pull Request aims to enhance the tests for PowerGrid Fields, covering the following topics:

  • Automatic usage of htmlentities via Laravel's e() helper in PowerGrid::fields->add();
  • No utilization of the e() helper in PowerGrid Custom Fields PowerGrid::fields->add('field', closure);
  • Automatic removal of <script> tag in Custom Fields;
  • Table with Model Casting (string, decimal, float and boolean) and nullable fields.

Documentation

This PR requires Documentation update?

  • Yes
  • No
  • I have already submitted a Documentation pull request.

@luanfreitasdev luanfreitasdev merged commit 42f8d0d into Power-Components:5.x Apr 30, 2024
21 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants