acl-services / acl-services/paprika

<Listbox.footer /> Add confirmation component

Abierto
#485 0 comentarios 0 reacciones 0 asignados Ver en GitHub
Feature Request Medium Priority →
Lenguaje dominante
JavaScript
Estrellas
54
Forks
10
Merge medio
1 d 12 h
PR fusionados (30 d)
6

Descripción

# Feature request
## Prerequisites

## Is your feature request related to a problem?
When using the Listbox with a footer (which has "Apply" and "Cancel" buttons), I want to prompt the user to confirm when they press "Apply".

## Describe the solution you'd like

{
// if 'confirmation' prop exists, this is not used
// else, it gets fired on click 'accept'
}}
confirmation={}
/>

## Describe alternatives you've considered
1. Using a `Toast` above the Listbox.
2. Allowing a node to go in the footer above the buttons.

## Additional context
Compliance Maps has a custom built solution that adds text when you change your choices. I'm looking to replace it with ListBox:

![Screen Shot 2020-04-15 at 2 33 56 PM](https://user-images.githubusercontent.com/23224777/79399741-ff84a280-7f38-11ea-8c51-510e31e0c7b2.png)

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.