We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
That is my options. I set multiline: true and numberOfLines is not working. I am expecting to show multiline input.
multiline: true
numberOfLines
options = { i18n: { optional: '', required: '*' }, stylesheet: stylesheet, fields: { comment: { label: 'Comment', error: 'Check in', placeholder: 'i.e comment, multiline: true, numberOfLines: 4, }, } };
It is showing single line input.
The text was updated successfully, but these errors were encountered:
As a workaround, you can adjust the style to get it to work. For example I have a multiline Notes field working in v0.6.20 with the following options:
Notes: { multiline: true, returnKeyType: 'done', blurOnSubmit: true, stylesheet: { ...Form.stylesheet, textbox: { ...Form.stylesheet.textbox, normal: { ...Form.stylesheet.textbox.normal, height: 60, textAlignVertical: 'top', }, error: { ...Form.stylesheet.textbox.error, height: 60, }, }, }, }
The key pieces there being multiline: true (which you already have) and the added style attributes of height: 60 and textAlignVertical: 'top'.
height: 60
textAlignVertical: 'top'
Sorry, something went wrong.
No branches or pull requests
Version
That is my options. I set
multiline: true
andnumberOfLines
is not working. I am expecting to show multiline input.Actual behaviour
It is showing single line input.
The text was updated successfully, but these errors were encountered: