SolidOS / SolidOS/solid-ui

'autofocus' Common Field Property

Offen
#133 1 Kommentar 0 Reaktionen 1 zugewiesene Person Auf GitHub ansehen

@timbl arbeitet bereits daran.

Seit 16.12.2019.

enhancement
Vorherrschende Sprache
TypeScript
Sterne
153
Forks
46
Ø Merge
1 T. 8 Std.
Gemergte PRs (30 T.)
7

Beschreibung

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.

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Erste Schritte

  1. Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
  3. Forke das Repository und arbeite in einem Branch.
  4. Öffne einen Pull Request, der die Issue-Nummer nennt.

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.