• Resolved lewisself

    (@lewisself)


    Hello,

    I’m creating a block which requires a textarea input. I’m trying to add default value for my field. This requires multiple lines however when switching the field type to textarea the default value doesn’t change to a textarea and won’t allow multiple lines. I was wondering if there’s a way around this.

    Lewis,

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Ryan Kienstra

    (@ryankienstra)

    Hi @lewisself,
    Thanks, you bring up a really good point.

    I don’t know of a workaround for this, but I’m working on a fix for this now.

    Plugin Author Ryan Kienstra

    (@ryankienstra)

    Fixed In New Pull Request

    Hi @lewisself,
    I just changed the default setting from an <input> to a <textarea>, to enable multiple lines:

    https://github.com/getblocklab/block-lab/pull/379

    I’m going to mark this topic as resolved. Feel free to follow up with questions here.

    • This reply was modified 5 years, 3 months ago by Ryan Kienstra.
    Plugin Author Ryan Kienstra

    (@ryankienstra)

    Also, I’ll ping you on this topic when that fix is released on www.ads-software.com.

    Thread Starter lewisself

    (@lewisself)

    Thanks Ryan! That’s good news. I’ll just wait until the next release instead of trying to find a work around. Kicking myself I didn’t put in an issue on GitHub. I’ve been trying to be more active on there. Next time I find an improvement I will!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Default value for textarea not accepting multiple lines’ is closed to new replies.