Closed daguilarm closed 6 years ago
Will be nice feature a custom ID or DUSK fields for testing, something like:
->id('myID') or ->dusk('myID') or ->idAndDusk('myID')
And will render in:
<a aria-controls="#permisos" href="#myID" role="tab" class="tabs-component-tab-a" dusk="myID" id="myID">Permisos</a>
Mostly is a problem with utf8 codec, so I need accents and other chars out. I think the best way will be to set a custom value for id, href or dusk... Maybe adding the hash method something like this:
str.normalize('NFD').replace(/[\u0300-\u036f]/g, "")
I'm working in a PR
Will be nice feature a custom ID or DUSK fields for testing, something like:
->id('myID') or ->dusk('myID') or ->idAndDusk('myID')
And will render in:
<a aria-controls="#permisos" href="#myID" role="tab" class="tabs-component-tab-a" dusk="myID" id="myID">Permisos</a>
Mostly is a problem with utf8 codec, so I need accents and other chars out. I think the best way will be to set a custom value for id, href or dusk... Maybe adding the hash method something like this:
str.normalize('NFD').replace(/[\u0300-\u036f]/g, "")