Closed christiantigre closed 2 years ago
Hi I don't think that this is possible, as you can see, the code doesn't expect to get additional attributes for the buttons.
<div className='react-confirm-alert-button-group'>
{buttons.map((button, i) => (
<button key={i} onClick={() => this.handleClickButton(button)} className={button.className}>
{button.label}
</button>
))}
</div>
This feature is in Version 3.0.0
autofocus not working when modal is shown after some event
How I can add el autoFocus on buttons Label: "Yes" I try added
autoFocus: true
, but, don't work autoFocusAny solution?