Two bugs in the Responsive feature.
pablov01 opened this issue · 3 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:
-
Accentuations: the names of the titles of the fields that contain accentuations show them incorrectly, omitting the accented vowel. Example:
-
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...
Extra information
<?php
//...
Hello! Are the field names column1, and column2? It should be the name you define in https://livewire-powergrid.com/table/add-columns.html#add-columns-fields
Docs: https://livewire-powergrid.com/table/features-setup.html#fixed-columns
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:
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: