Playground
Verwende <ComboBox />, um eine ComboBox darzustellen. Nutze ein <Label />,
um Informationen zu vermitteln, die das Verständnis der Eingabeanforderungen
erleichtern.
import { ComboBox, Label, Option, } from "@mittwald/flow-react-components"; <ComboBox> <Label>Domain</Label> <Option>mydomain.de</Option> <Option>shop.mydomain.de</Option> <Option>anotherdomain.com</Option> <Option>www.anotherdomain.com</Option> <Option>anotherdomain.com/shop</Option> <Option>anotherdomain.com/blog</Option> <Option>onemoredomain.de</Option> <Option>www.onemoredomain.de</Option> </ComboBox>
Mit FieldDescription
Um wichtige Hinweise zur ComboBox bereitzustellen, kann unterhalb eine
<FieldDescription /> eingebaut werden.
Weitere Informationen
Weitere Informationen
Kombiniere mit ...
Align
Benutze Align, um einem Button neben deiner ComboBox zu platzieren.
ContextualHelp
Verwende ein ContextualHelp, wenn du weitere Informationen bereitstellen möchtest, und diese zu lang für die FieldDescription sind.
React Hook Form
Weitere Details zur Formularlogik und -validierung sind in der Component Form (React Hook Form) zu finden.
CountryOptions
Verwende die CountryOptions um eine Länderauswahl anzubieten.