SolidOS / SolidOS/solid-ui

'autofocus' Common Field Property

Aperta
#133 1 commento 0 reazioni 1 assegnatario Vedi su GitHub

@timbl ci sta già lavorando.

Dal 16/12/2019.

enhancement
Lingua principale
TypeScript
Stelle
153
Fork
46
Merge medio
1g 8h
PR unite (30g)
7

Descrizione

User Story

As a Form Designer, I want to specify which data element on a form should receive input focus as soon as the form is loaded, so that the user can start typing immediately without having to specifically click on or tab to that control.

Acceptance Criteria

  1. In the Form Model describing the form, I can set a 'autofocus' = true property on a single form data element to specify the data element that should receive focus when the form is loaded. The default is 'autofocus' = false.
  2. When the form is rendered based on the Form Model, focus is given to the specified data element. If the 'autofocus' = true property is set for multiple fields, the first field receives the focus.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.