@makeform/input
v3.0.0
Published
Text input widget suitable for one line short text, links or number.
Readme
@makeform/input
Text input widget suitable for one line short text, links or number.
config
asLink: render input content as a link in view modewithLink: render links inside input content as links in view modeasImage: render input content as an image in view modeautoComma: automatically add comma in input content. default false- yet comma will still be removed in underlying value .
unit: optional, a string representing unit of this field if provided.- shown as a small dimmed text at the corner of this widget if provided
placeholder: placeholder text to be shown. optional, nothing will be shown if omitted.hint: an object with following field for input statistics hint.enabled: default false. when true, show information based on length relatedtermabout how many characters left.
it also provides following configs for using in @makeform/textarea or any other widgets want to extend @makeform/input and use related features:
showMarkdownOption: default false. show markdown related options if true
License
MIT
