Power-Components / livewire-powergrid

⚡ PowerGrid generates modern, powerful and easy-to-customize data tables using Laravel Livewire.

Home Page:https://livewire-powergrid.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Two bugs in the Responsive feature.

pablov01 opened this issue · comments

Have you searched through other issues to see if your problem is already reported or has been fixed?

Yes, I did not find it.

Did you read the documentation?

Yes, I did not find it.

Have you tried to publish the views?

Yes - I didn't work.

Is there an error in the console?

No

PHP Version

8.1.2

PowerGrid

5.1.1

Laravel

10.25.0

Livewire

3.0.5

Alpine JS

No response

Theme

Tailwind 3.x

Describe the bug.

The errors I found in the Responsive functionality were the following:

  1. Accentuations: the names of the titles of the fields that contain accentuations show them incorrectly, omitting the accented vowel. Example:

  2. FixColumns Method: using this method for a form I realized that it does not work correctly (or the documentation is not very clear), I tried to place the fields that I did not want to be hidden in the form, I also based myself on the example of the documentation, but it is not clear to me if the parameters passed are a range or are fields of the TableComponent.

To Reproduce...

  1. Accentuations:
    image_1
    and this show:
    image_2jpg
  2. FixColumns Method:
    image_3
    and this show:
    image_4
    (It doesn't hide column 10 from me)

Extra information

<?php
 //...

No answers, so closing this

hello! I think my captures were a bit confusing, I'll try again. For point 2 about the FixedColumns method, I think I understood how it works, now the problem is the fields it hides to the Responsive::make() method, the titles of the fields it hides omit the Accentuations.
This some examples:
image
As you can see in the hidden titles, it omits the vowels which have accents. Instead of saying "Fecha Fundación" it says "Fecha Fundacin", "Teléfono" says "Telfono", "Dirección" says "Direccin", as well as any word that contains accents.
This is the way he applied the titles:
image