@open-formulieren/formio-builder
Version:
An opinionated Formio webform builder for Open Forms
11 lines (10 loc) • 699 B
JavaScript
import { jsx as _jsx } from "react/jsx-runtime";
import { FormattedMessage, useIntl } from 'react-intl';
import { TextField } from '../formio';
// for possible values, see https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/autocomplete
const AutoComplete = () => {
const intl = useIntl();
const tooltip = intl.formatMessage({ id: "etny39", defaultMessage: [{ type: 0, value: "Display options to fill in the field, based on earlier typed values." }] });
return (_jsx(TextField, { name: "autocomplete", label: _jsx(FormattedMessage, { id: 'VekFY+', defaultMessage: [{ type: 0, value: "Autocomplete" }] }), tooltip: tooltip, placeholder: "on" }));
};
export default AutoComplete;